DEV Community

Discussion on: Replacing Redux with React Contexts

Collapse
arashkiani profile image
Arash

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

Collapse
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.