@yoshuawuyts any tips on state management for React style rendering where absolutely all persistent data is in IndexedDB?
Good question, the answer is that if you want to do it well it's not easy. Nanoidb makes IDB quite usable, but requires migrations. Have heard good things about pouch/couch, but it's a big setup. Also never tried so hearsay only Have seen plenty of others, but no great ones :(
-
-
Oops. Wasn't clear. I'm writing IndexedDB directly. It's not so bad. I guess my question was: Do I always just load all state needed for a view prior to render?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.