Replies: 1 comment
-
|
Even if the event is of export const StepStore = signalStore(
withState(initialState),
withReducer(
on(stepEvents.next, (_, state) => ({ currentStep: state.currentStep + 1 })),
)
); |
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.
-
Hi, I was trying to use the new events API for signalStore. I have a model something like:
But it says it doesn't recognise the state on the line highlighted in the code sample. Am I missing something when reactiving to an event with no payload?
Thank in advance for any help!
Beta Was this translation helpful? Give feedback.
All reactions