DEV Community 👩‍💻👨‍💻

Discussion on: React Context API + useReducer() = Redux

Collapse
kambleaa007 profile image
Ashish Kamble

so what will be better efficient way of using context in enterprise projects

Collapse
burhanuday profile image
Burhanuddin Udaipurwala Author

Use it for state that does not change often - stuff like theme preference, language preference. Context is not a state management solution, it's a dependency injection mechanism