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

Remove v4 getstate/dispatch in favour of v5 getstate/dispatch #5156

Open
2 of 3 tasks
sanmont3drepo opened this issue Sep 10, 2024 · 0 comments
Open
2 of 3 tasks

Remove v4 getstate/dispatch in favour of v5 getstate/dispatch #5156

sanmont3drepo opened this issue Sep 10, 2024 · 0 comments

Comments

@sanmont3drepo
Copy link
Contributor

sanmont3drepo commented Sep 10, 2024

Description

because in v4 the helper functions getstate/dispatch are also in the same place the store is being created is easy to create circular dependencies. In v5 this dependency is inverted so getstate and dispatch can be safer to use.

Goal

  • have all the references to getstate and dispatch using the v5 version

Tasks

  • Remove getstate and dispatch from store
  • REplace the refereces with v5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants