Skip to content
Discussion options

You must be logged in to vote

To my understanding this is #1657 (comment), because you cannot use window.open to open sub-windows.

Just for reference, I think this is more fitting #4710 / tauri-apps/wry#649

Shall I manage all state in Rust and tell the individual windows about changes?

That's typically the first thing we recommend, yes. We also have a store plugin if you don't want to use Rust (it uses rust internally) and want that state to be persisted on disk.
There are also session-/localstorage based solutions i think, the specifics depend on your framework. If you search for a solution to share state across Browser Tabs for your framework you should hopefully find something.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@raphaelmenges
Comment options

@FabianLars
Comment options

Answer selected by raphaelmenges
Comment options

You must be logged in to vote
2 replies
@raphaelmenges
Comment options

@maplelost
Comment options

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