Hi there!
My app’s structure needs a setup, where pages get loaded in an iframe (all within the same domain).
I need to figure out a way to pass data from parent window to the page loaded in that iframe.
I tried passing GET parameters, but it reloads the page in the iframe. I tried doing it with iframe.contentWindow.history.replaceState without success (nothing happens).
I also tried working with local storage, but I can’t find a way to get data updated (on the page in the iframe) automatically upon its change in local storage.
The last thing I tried was to set up a “helper” data type in the database, so that I can pass data to an iframe with all the data reactivity benefits, but it is not instant, as goes through bubble servers.
Any idea of how to achieve this kind of data exchange between tabs/parent-iframe widnows without reload?
Thanks in advance!