This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-01
Channels
- # beginners (71)
- # boot (148)
- # cider (21)
- # cljs-dev (2)
- # cljsjs (35)
- # clojure (212)
- # clojure-russia (42)
- # clojure-spec (36)
- # clojure-uk (28)
- # clojurescript (18)
- # cursive (2)
- # datascript (20)
- # datomic (2)
- # hoplon (2)
- # off-topic (355)
- # om (2)
- # onyx (1)
- # protorepl (1)
- # reagent (34)
- # ring-swagger (6)
- # rum (8)
- # sql (4)
- # untangled (64)
- # vim (22)
- # yada (1)
patterns have their use cases and none are universally useful. sending down some extra data via a script tag is good for a few things... having data ready to render without the overhead of loading corresponding elements into the dom. if the server already has the data it would be wasteful to make the client call back later to retrieve it again. of course it's a trade off, sending unneeded data is wasteful.
maybe the data is ephemeral, maybe the second call is unreliable (mobile), maybe the server memory is limited and dumping the state is better than holding onto a session.
what specifically are you trying to manage? what are the use cases you're trying to deal with
starting with a library before you're solving a specific problem is an anti-pattern IMHO
clojure/script make it so simple and easy to solve problems that importing a library ends up adding time for me