Closed nephros closed 2 years ago
I wonder if a Page can simply be serialized to JSON, and later PageStack.replace()-ed...
It would be easy to bind everything to a javascript object, serialize that and load it later
Please see branch 'autosave' for a first try.
So that implementation works satisfactorily, modulo some minor issues.
But I just realized that loading and storing using XMLHttpRequests is quite silly (esp. loading). This really must be switched to LocalStorage.
Implemented in 0.9.7 (9f9d45fd2a)
at least the last unsubmitted one