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

how to impl store like React #2562

Closed
crochee opened this issue Mar 29, 2022 · 2 comments
Closed

how to impl store like React #2562

crochee opened this issue Mar 29, 2022 · 2 comments
Labels

Comments

@crochee
Copy link

crochee commented Mar 29, 2022

my environment is yew 0.19.3 and yew-agent 0.1.0.
How to simulate the createStore of react? I try to implement the store, but I can't get the saved parameters when I refresh the view for the first time

@crochee crochee added the bug label Mar 29, 2022
@crochee
Copy link
Author

crochee commented Mar 29, 2022

Due to network reasons, I couldn't open the question page, so I submitted a bug report

@WorldSEnder
Copy link
Member

createStore is not part of react, but part of redux. If you're searching for a state-management library there is yewdux and you can have a look at a curated list of community libs. In any case, this is unrelated to core yew.

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

No branches or pull requests

2 participants