This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-18
Channels
- # architecture (14)
- # beginners (89)
- # cider (336)
- # cljsrn (2)
- # clojure (181)
- # clojure-berlin (1)
- # clojure-dusseldorf (3)
- # clojure-finland (4)
- # clojure-germany (5)
- # clojure-italy (18)
- # clojure-norway (10)
- # clojure-spec (9)
- # clojure-uk (94)
- # clojurescript (84)
- # cursive (3)
- # data-science (4)
- # datomic (82)
- # emacs (2)
- # events (4)
- # figwheel (1)
- # fulcro (6)
- # graphql (2)
- # hoplon (46)
- # instaparse (24)
- # jobs (9)
- # lein-figwheel (2)
- # luminus (18)
- # lumo (3)
- # mount (1)
- # off-topic (14)
- # onyx (17)
- # parinfer (22)
- # planck (1)
- # protorepl (1)
- # re-frame (50)
- # reagent (7)
- # ring-swagger (6)
- # rum (4)
- # shadow-cljs (94)
- # spacemacs (9)
- # specter (7)
- # tools-deps (2)
- # uncomplicate (4)
- # vim (33)
are there any examples of a library or framework that allows you to bundle a data query (a la Om.Next, Apollo, Relay, etc.) with a reagent component?
@lilactown apologies for the vague response... mobile..
So 1st check out re-frame https://github.com/Day8/re-frame the queries that you refer to are implemented as reactive subscriptions
https://github.com/Day8/re-frame#code-for-domino-4 to the data model. It is easy to pick up, scales great... and has lots of addons... plus the docs are great IMO
I see. I understand where my confusion came from: one of the biggest requirements I have is server-side rendering - which stuff like reagent subscriptions cannot handle
i have to say I have no experience of isomorphic reagent/re-frame.. but i have tried rum https://github.com/tonsky/rum and it is isomorphic by default.... It has a nice (for me) way of co-locating queries and views that make it very easy to pick up...