by donjoe · 3y ago · 0 comments
The new beta docs just recently changed again removing old best practices concerning dependency arrays in useEffect hooks in favor of a new potential hook called useEffectEvent (which is still experimental).
I love to work with react. However, it takes _a lot of time_ onboarding new engineers for tasks which are a bit more complicated in nature. Also, using hooks the wrong way can really mess up your product big times.
It would be nice to see react moving in a direction which is by design/architecture less error-prone.
No comments yet.