hazelgrove / tylr

a tiny tile-based editor
https://tylr.fun
MIT License
284 stars 2 forks source link

Autosave to localstore on every action #35

Closed disconcision closed 3 days ago

disconcision commented 4 days ago

Closes #38.

Basic autosave on every action (sexp-serializes zipper).

Potential issues:

  1. not sure why padding was listed as Opaque? had to undo that to get basic sexp deserialization working but can right custom deserializer if necessary?
  2. i don't get how to properly namespace files in different subdirs in this setup... had to move LocalStorage, not sure how to do this properly.