DEV Community

Discussion on: Is Redux Needed After Hooks?

noor0 profile image
Noor Ul Haq

Hooks are just a new way of adding state to a component, previously we couldn't attach state to function components we could maintain state in a class component that could pass it down to a function component through props but with hooks we can move that state down to the function component, hooks don't solve the problems that redux does (i.e. prop drilling, predictable state updates through reducers etc.) so no redux won't be replaced. Hope this answer helps.