Hi 👋🏽, I am a self-taught Senior Front-End Engineer.
I share tips to help overwhelmed junior frontend developers build the confidence and expertise they need to reach the next level 😻🥳.
Very nice explanation ! I generally use reducer whenever I have a complex state that is passed through the context. In those cases, I can just have two contexts : one that contain the state and another one that contain the updater functions. This is very good for perf improvements
Very nice explanation ! I generally use reducer whenever I have a complex state that is passed through the context. In those cases, I can just have two contexts : one that contain the state and another one that contain the updater functions. This is very good for perf improvements
Thank you very much, Ndeye