This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-11
Channels
- # admin-announcements (36)
- # beginners (1)
- # boot (267)
- # cider (19)
- # cljs-dev (12)
- # clojure (149)
- # clojure-austin (4)
- # clojure-canada (1)
- # clojure-czech (3)
- # clojure-dev (31)
- # clojure-japan (2)
- # clojure-uk (22)
- # clojurebridge (3)
- # clojurescript (314)
- # clojutre (18)
- # core-async (8)
- # cursive (4)
- # datascript (1)
- # datomic (27)
- # editors (2)
- # events (80)
- # hoplon (13)
- # javascript (2)
- # jobs (5)
- # ldnclj (12)
- # ldnproclodo (1)
- # off-topic (4)
- # re-frame (21)
- # reagent (87)
- # testing (13)
moarning
Hello.
Anybody knows how to deal with nils-while-loading in re-frame? (or I suppose reagent for that matter) I’m not sure what’s the best approach here.
pupeno: nils where ?
mccraigmccraig: data that has not yet been loaded from the server: http://stackoverflow.com/questions/31940875/dealing-with-missing-data-while-its-being-loaded-in-re-frame
i haven't done anything in re-frame yet, but in reagent (and om for that matter) i tend to deal with it at an individual component level... which may mean rendering an empty list, or not rendering a sub-component, as appropriate