This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-19
Channels
- # aws (9)
- # bangalore-clj (1)
- # beginners (6)
- # cider (17)
- # cljs-dev (9)
- # cljsrn (31)
- # clojure (70)
- # clojure-spec (19)
- # clojurescript (122)
- # cursive (1)
- # datomic (20)
- # dirac (8)
- # fulcro (19)
- # hoplon (25)
- # instaparse (2)
- # lambdaisland (3)
- # luminus (8)
- # lumo (10)
- # om (22)
- # parinfer (25)
- # protorepl (2)
- # re-frame (35)
- # reagent (1)
- # test-check (5)
- # unrepl (6)
How do I create the initial state manually? If I take a working app and just add (defonce state (atom (fc/get-initial-state Root nil)))
and then add :initial-state state
to new-fulco-client
, that should work exactly the same (except for the warning message about explicit and InitialAppState), right?
@bbktsk Yes, if you use an explicit option (as of like beta 6 or 7) it should let you manuallyt set it
Release of spec beta8. beta7 server tests rendering in the browser was broken due to the change in networking.
@tony.kay If I do that, I get error from the router complaining about unknown screen. But I’m looking at my routing code and I think it may have been working only by accident before that. Is M15_Routing_UI up-to-date? I see no r/routing-tree
or r/make-route
calls there, instead it seems to use raw clojure maps. Are these functions phased out or is M15 just out of date?