Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Redux with React contexts #1038

Open
berekuk opened this issue Mar 5, 2024 · 0 comments
Open

Replace Redux with React contexts #1038

berekuk opened this issue Mar 5, 2024 · 0 comments

Comments

@berekuk
Copy link
Contributor

berekuk commented Mar 5, 2024

It's hard to do this gradually:

  • Redux dispatch doesn't have access to React context (dispatch is not a hook), so thunk actions can't use things that we've already extracted
  • everything is heavily entangled

One idea is to pass dispatch for new React reducers explicitly to Redux action creators.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant