This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-03
Channels
- # beginners (50)
- # cider (6)
- # cljdoc (2)
- # cljs-dev (19)
- # clojars (2)
- # clojure (20)
- # clojure-dev (35)
- # clojure-italy (2)
- # clojure-norway (12)
- # clojure-uk (17)
- # clojurescript (7)
- # data-science (3)
- # datomic (10)
- # emacs (2)
- # events (1)
- # figwheel-main (2)
- # fulcro (8)
- # graphql (1)
- # juxt (3)
- # nrepl (4)
- # off-topic (23)
- # parinfer (1)
- # pathom (63)
- # re-frame (7)
- # reagent (1)
- # reitit (5)
- # ring-swagger (1)
- # shadow-cljs (23)
- # tools-deps (16)
what would be the right place to store sente websocket connection data ? all sente examples (including the re-frame one) use global defines, but i'm thinking that it should be a coeffect
We've maintained sente connections outside of app-db. When messages arrive they are dispatched.
Connections are opened and Messages are sent via effects
i'm new to cljs and frontend in general, i'm trying to understand the reasons it should not be stored as a coeffect -- so you can maintain persistence even in case of reloads ?
Some comments on reloads towards the end of: https://github.com/Day8/re-frame/blob/master/docs/FAQs/PollADatabaseEvery60.md
👍 4