AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Redux and the Context API
The problem that redux solved wasn't necessarily a uno directional data flow and time travel debugging. It was actually just making it easier for developers to get their data to the components they needed without having to go through all these layers of prop drilling. But when people are so used to using redux to manage state in that way, they eventually start putting everything into redux. So now you have your form error state in redux. You have every key stroke of the user in these foreman puts going into state. You have the is motal open state, like happening in redux as well. You have to start name spacing the stuff because it's in this giant redux store