Replies: 3 comments 2 replies
-
Looks like this might be the trick. Examples It's tough being a noob! |
Beta Was this translation helpful? Give feedback.
-
Hi Hugo, I guess you moved on, but this example Show an example of a reactive variable that is used my multiple pages, see source: I hope that still helps or future users. Regards, Maarten |
Beta Was this translation helpful? Give feedback.
-
Hi @maartenbreddels , Thanks for the reply. I seem to have missed that example and followed this approach solara create button multipage-demo/01-click-button.py
solara create markdown multipage-demo/02-markdown-editor.py
solara run ./multipage-demo Your example looks like a simpler way of doing what I need. Regards |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have used two of the examples to help with creating a multipage live update app.
Live Update and Multiple scripts
The live part of the app is working by subscribing to a MQTT topic and parsing the payload before rendering the live data.
Is there a way to broadcast or inform another page in the app when a new topic has arrived and render the new value on the that page?
At the end of the day the required data ends up in a PostgreSQL database and the MQTT subscribe topic acts like a heart beat to inform the app that new data is available.
Kind regards
Beta Was this translation helpful? Give feedback.
All reactions