This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-15
Channels
- # announcements (2)
- # aws (1)
- # beginners (200)
- # calva (136)
- # cider (32)
- # clj-kondo (1)
- # cljs-dev (14)
- # cljsrn (19)
- # clojure (147)
- # clojure-argentina (1)
- # clojure-dev (144)
- # clojure-nl (2)
- # clojure-spec (14)
- # clojure-turkiye (1)
- # clojure-uk (1)
- # clojurescript (7)
- # data-science (1)
- # datomic (5)
- # duct (6)
- # figwheel (2)
- # fulcro (4)
- # graalvm (10)
- # graphql (1)
- # immutant (1)
- # joker (4)
- # off-topic (30)
- # om (1)
- # re-frame (11)
- # reagent (2)
- # reitit (4)
- # shadow-cljs (63)
- # testing (1)
- # tools-deps (7)
Does anybody know a good way to persist re-frame for offline usage?
@UJL7124P4 I've been struggling with the same problem. I've come up with a few different solutions
1) serialize the entire app-db with transit and store in local storage or indexeddb etc.
2) store just the event data. Ie. Just the cofx minus the DB key. This can be used later to replay events
4) Use something like pouchdb to store parts of the app-db ad hoc after certain events
Hi Matt! Thanks for your reply! I settled with pouchdb/couchdb. The project was in early development, I think this combination will be the best fit.