DEV Community

Discussion on: Replacing Redux with React Contexts

arashkiani profile image

That's true my bad, although imo if it's done right having a single source of truth have some values.

rsa profile image
Ranieri Althoff Author • Edited on

Yes, nothing stops you from having Redux, but you can also have a top-level context. That's how we do user authentication, actually :) an <AuthProvider> wrapping the application.