how to save to database in optimal way? #4251
Replies: 2 comments 10 replies
-
To store content back to your DB, the suggestion would be to store the entire content of your editor as a JSON object (from If bandwidth is your concern, you are either writing a book (which even then can be like 300KB) or doing premature optimization. Theorhetically you could do some sort of a patch into the JSON with the diff of previous changes, or even send the editor transactions (which are records of changes in editor states). But this is a lot of work and would be much better handled by a debounce or a simple submit button. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions