status-im / status-fiddle

Online UI editor for status-react
10 stars 9 forks source link

Implemented save functionality Fix #8 #16

Closed ghost closed 6 years ago

ghost commented 6 years ago

Fixes #8

status: ready

flexsurfer commented 6 years ago

thanks @poiga it works , but two moments 1) it should load state from localstorage on app init , and better to use this lib https://github.com/alandipert/storage-atom (transit version) much handy to work with LS 2) it should share link with our host and load this gist same as http://escherize.com/cljsfiddle/#gist=68f56bd279a0a3efbd3662c5e6a817e4 works

flexsurfer commented 6 years ago

so if we have gist in url we should load this gist, if not, load from localstorage, if localstorage is empty show our template

flexsurfer commented 6 years ago

thank you @audriu ! looks good ! :)