openblocks icon indicating copy to clipboard operation
openblocks copied to clipboard

Global Variable Sharing

Open sonuame opened this issue 2 years ago • 0 comments

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

sonuame avatar Apr 09 '23 19:04 sonuame