Open jarle opened 2 years ago
useStickyState is bugged too, should be fixed and standardized between all possible remote changes.
possible solution: generate unique key for each push, check if key exists before accepting remote change.
Should also support offline-mode, pwa etc
when writing, compare content to cloud content (utc timestamp?)
"merge" content somehow, accept newest
write -> localStorage -> cloud -> merge(localstorage) -> display