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

reset state when component is destroyed #13

Open
buttercubz opened this issue Feb 24, 2022 · 0 comments
Open

reset state when component is destroyed #13

buttercubz opened this issue Feb 24, 2022 · 0 comments

Comments

@buttercubz
Copy link

hi @oskarhane , i love actus i am currently using it in a personal project but when the component is destroyed and remounted it continues to have the previous state, so i would like to know a way to reset the state every time the component is destroyed , I don't know much about xstate and that's why I ask a lot

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