Re:React I love you, but you're bringing me down
by UlisesAC4 on Tuesday September 20, 2022 @06:35PM
(#32918685)
It is bonkers. My number of "accidental" re renders on react are greater than before hooks.
Before at least I knew what was called on boostrap moments. Now everything is run as a side effect when any dependency change. My needs on checking if a prop or a dependency has changed hasn't evolved at all. I just have the core of my side effects on useEffect.
Before at least I knew what was called on boostrap moments. Now everything is run as a side effect when any dependency change. My needs on checking if a prop or a dependency has changed hasn't evolved at all. I just have the core of my side effects on useEffect.