DEV Community

loading...

Discussion on: New Redux Hooks: A Before And After Comparison. Are They Better?

Collapse
gsto profile image
Glenn Stovall Author

That's another good point. If you're using these hooks within your component, you would be tightening the coupling that component has with redux. So to your question, it sounds like yes it would.

If you want similar functionality without creating a redux dependency, you could probably create similar functionality with useContext and useState inside of hooks.