Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

Reset UI state of another component? #57

Open
aledoroshenko opened this issue Oct 5, 2016 · 0 comments
Open

Reset UI state of another component? #57

aledoroshenko opened this issue Oct 5, 2016 · 0 comments

Comments

@aledoroshenko
Copy link

What's the best way to reset state of one component on button click in another component? Both wrapped in ui. From what i see, resetUI resets only "current" component (the one where we call it), and we can't do something like resetUI('componentKey') to reset component by key. Should i use ui reducer option for this, or there is another way?

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

No branches or pull requests

1 participant