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?
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 likeresetUI('componentKey')
to reset component by key. Should i use ui reducer option for this, or there is another way?