openblocks-dev / openblocks

🔥 🔥 🔥 The Open Source Retool Alternative
https://cloud.openblocks.dev
GNU Affero General Public License v3.0
5.8k stars 349 forks source link

Global Variable Sharing #363

Open sonuame opened 1 year ago

sonuame commented 1 year ago

Sometimes I had to define global variables like this window.messages = [] And 2 raw javascript queries were able to access the realtime values.

But in latest version, its not working anymore. Is there a way to define global variables which are accessible across different javascript queries?

My whole setup got broken after the update. So now I had to use window.localStorage to get persistence