highcharts / highcharts-editor

https://www.highcharts.com/products/highcharts-editor
Other
250 stars 96 forks source link

Look into local storage on electron + web-app #23

Closed cvasseng closed 8 years ago

cvasseng commented 8 years ago

I think the conclusion here is that it can cause more troubles than it's worth.

Since localstorage is shared across domains, we'd be "polluting" the localstorage of the whichever domain the editor is running under. We'd not be able to guarantee that there's space in there either, so it would probably not work reliable on sites utilizing localstorage for e.g. caching.

For the electron app, a simple load/save file would be better.