2 ms·
Prevents some re-renders when passing callbacks down the render chain, but the core flaw in modern day React is that this is added to the developer's list of th
by Cthulhu_ 2y ago
Prevents some re-renders when passing callbacks down the render chain, but the core flaw in modern day React is that this is added to the developer's list of things to worry about (same as memoization) and manage with the dependency array. It just feels like a lot of things that the framework should deal with and abstract away.
- koakuma-chan 2y agoYeah that's crazy that function pointers cause re-renders in React, I had no idea about this. My go-to reactivity library is SolidJS right now though, their fine-grained reactivity is really nice to work with.