3 ms·
Abysmal framework with horrible documentation. On one hand React boasts that it's just JS but on another puts so many constraints on how you program which are n
by WhiteBlueSkies 4y ago
Abysmal framework with horrible documentation. On one hand React boasts that it's just JS but on another puts so many constraints on how you program which are nonsensical. (don't use useEffect in for loops)
I have yet to see an in-depth treatise on how it works under the hood. All I get are surface level posts of guidelines and crappy posts on FreeCodeCamp written by HS students who learned how to program yesterday. State management is another nightmare as well.
- Svetlitski 4y ago> I have yet to see an in-depth treatise on how it works under the hood Check out “A Complete Guide to useEffect” [1] by Dan Abramov, one of the core React developers. [1] https://overreacted.io/a-complete-guide-to-useeffect/ https://overreacted.io/a-complete-guide-to-useeffect/
- acemarke 4y agoSee my extensive post "A (Mostly) Complete Guide to React Rendering Behavior": - https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-mostly-complete-guide-to-react-rendering-behavior/ https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-... as well as these other excellent posts on React's internals and implementation: - When does React render your component?: https://www.zhenghao.io/posts/react-rerender https://www.zhenghao.io/posts/react-rerender - A Complete Guide to useEffect: https://overreacted.io/a-complete-guide-to-useeffect/ https://overreacted.io/a-complete-guide-to-useeffect/ - Getting Closure on React Hooks: https://www.swyx.io/hooks/ https://www.swyx.io/hooks/ - Didact: Build a Miniature React with Hooks" https://pomb.us/build-your-own-react https://pomb.us/build-your-own-react