webxdc / hello

Sample project with a simple implementation of the webxdc read and write APIs
The Unlicense
29 stars 7 forks source link

let updates survive a reload #5

Closed r10s closed 2 years ago

r10s commented 2 years ago

reloading index.html forgets all previous updates currently, which may be a bit unhandy on more complicated apps.

we could try to persist updates using maybe helpful: window.sessionStorage, https://www.w3schools.com/html/html5_webstorage.asp (and add a button to explicitly forget all previous updates then)