Passing state into a new window #4195
Replies: 3 comments
-
I'm having this kind of problem now in Vue. I have tried using localStorage but there seems to be a bug where the child window is an update behind the main window, thus, the main window storage is updated whereas the child isn't. On the next loop, the main window is updated on the latest data, meanwhile the child has just updated it's storage from the previous value of the main. |
Beta Was this translation helpful? Give feedback.
-
Have you solved this problem? I have the same question |
Beta Was this translation helpful? Give feedback.
-
One way to pass Example:
Check |
Beta Was this translation helpful? Give feedback.
-
I'm looking for a way to send data to a newly created window while using svelte. On the main view, a button is pressed to open a new window that shows information for a specific item.
This is my current method, but it is not elegant
App.svelte
MainView.svelte
main.rs
Ideally, there would be an option to pass properties into the window when created. For example:
MainView.svelte
App.svelte
Beta Was this translation helpful? Give feedback.
All reactions