Replies: 5 comments
|
That's not what actions are for. Use the createData functions |
0 replies
|
Do you mean |
0 replies
yeah. there are variations like createRouteData, createServerData, ect. |
0 replies
|
actions are for data mutations |
0 replies
|
@grustamli have a look at If necessary you can pass the signal from |
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 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
createRouteActionbut it seems it is not automatically called when navigating.All reactions