Re:Common mistakes writing React components with hooks
by tekkk on Tuesday July 21, 2020 @05:50PM
(#23911355)
Well, I disagree. As I said in my other reply - if the intention is that the prop is immutable there should be an error instead of very strange recomputation of the useEffect hook.
[ Parent
| on HN ]
There are no comments on this comment yet.