Replies: 1 comment
-
I'd say a combination of that #4574 (comment) and #4580 might be a proper solution? So a reset feature which could be triggered by an event |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to know if there a way of reseting to initial state all signal store as the metareducer did with Redux Store.
Previous way with redux store:
I planned of using a custom feature like this:
but using undefined in patch store is ignored.
Another solution could be to provide the feature a method
initialState
to callpatchState
with:Still, i feel that a proper way to reset to initial state would be simpler and better.
Beta Was this translation helpful? Give feedback.
All reactions