Closed illunix closed 2 weeks ago
Is there any way to perform reset to initial state in signal slice or I need to add this code to every state?
resetToInitialState: (_, $: Observable<void>) => $.pipe(map(() => signInInitialState))
@illunix no there is no default reset action source, what you have suggested would be an appropriate way to go about it
Is there any way to perform reset to initial state in signal slice or I need to add this code to every state?