Autosave #88
Replies: 5 comments 4 replies
-
Nice one! As of props I see at least these: I would not save after every change, it can have a big performance impact (especially with localStorage). Popular editors save when the user stop writing for a certain delay ( Hey you can create tens or hundreds of issues I would be amazed! It's more than welcome 😀 |
Beta Was this translation helpful? Give feedback.
-
perfect!! ok I will work on the API, the example was a quick proove of concept :) |
Beta Was this translation helpful? Give feedback.
-
Hi, were there any updates on this feature? |
Beta Was this translation helpful? Give feedback.
-
Although I don't have the time to make this a plugin, I did create an autosave solution that saves to a server after 5 seconds of no-editing, and also before window.unload if anyone stumbles on this thread and needs it. |
Beta Was this translation helpful? Give feedback.
-
Here's the autosave solution I'm using in my app https://untitlednote.xyz/. I've found it to be very reliable and I've encountered no instances of accidental data loss in production. MIT license applies. Summary of the relevant files:
|
Beta Was this translation helpful? Give feedback.
-
is this something do you think is useful?
I made a silly example of it: https://codesandbox.io/s/slate-autosave-example-w1qru
cc @zbeyens
P.S.: sorry for all the issues I'm creating 😅. I'm working on my app and I'm really invested in this plugins, I'm suggesting things I'm using and I find them useful to others. hope is ok!
Beta Was this translation helpful? Give feedback.
All reactions