Skip to content
Discussion options

You must be logged in to vote

Well, since you are using tauri you should use a builtin mechanism for this kind of stuff. In this case you can use events: https://tauri.app/v1/guides/features/events

Emit an event from the server and listen for that on the client. In the callback you should call invalidateAll, which is the correct way to trigger a rerun of all load functions.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@david-plugge
Comment options

@festeh
Comment options

@david-plugge
Comment options

Answer selected by festeh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants