Replies: 5 comments
-
That's not what actions are for. Use the createData functions |
Beta Was this translation helpful? Give feedback.
-
Do you mean |
Beta Was this translation helpful? Give feedback.
-
yeah. there are variations like createRouteData, createServerData, ect. |
Beta Was this translation helpful? Give feedback.
-
actions are for data mutations |
Beta Was this translation helpful? Give feedback.
-
@Grustamli have a look at If necessary you can pass the signal from |
Beta Was this translation helpful? Give feedback.
-
I have a global store which holds list of messages. I'd like to clear the messages when route changes.
How can I achieve this? I checked
createRouteAction
but it seems it is not automatically called when navigating.Beta Was this translation helpful? Give feedback.
All reactions