This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-01
Channels
- # beginners (134)
- # boot (4)
- # cider (11)
- # cljs-dev (3)
- # cljsrn (10)
- # clojure (85)
- # clojure-dev (10)
- # clojure-spec (17)
- # clojure-uk (14)
- # clojurescript (19)
- # copenhagen-clojurians (1)
- # data-science (15)
- # datascript (3)
- # datomic (3)
- # fulcro (1)
- # graphql (3)
- # heroku (1)
- # hoplon (1)
- # leiningen (2)
- # nrepl (11)
- # om-next (1)
- # onyx (35)
- # reitit (3)
- # shadow-cljs (43)
- # spacemacs (2)
- # specter (1)
- # test-check (10)
- # tools-deps (1)
- # vim (1)
@madstap I dont know how exactly is your use case, but one thing that I did was simply set the defaultValue based on the sync value and if the user changes the value then simply sync that one without forcing the input to update since it already contains it in its internal state. That is not entirely nice from the immutable perspective but it gets the job done for me. Hope it helps 🙂
Trying to get past the excellent re-natal hello world, I am not having much luck. On my third recommended demo repo, and this is the second that goes like this
~/catlantis $ re-natal use-figwheel
re-natal project needs to be upgraded, please run: re-natal upgrade
No problem, repos must be old, just RTE;
~/catlantis $ re-natal upgrade
/usr/local/lib/node_modules/re-natal/re-natal.coffee:1021
platforms = Object.keys(config.platforms);
^
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>:null:null)
Damn the torpedos, keep going…no cats. 😞
I will carry on working from the source of those examples so no big deal, but I would be interested in what I might be doing wrong. Kudos, btw, for the great first error above, subsequent bad luck notwithsatnding.
@hiskennyness that error is from the re natal config. Most likely you are missing the platforms key in your config
Thx, but looking at catlantis I see in .re-natal.local
the following:
{
"platforms": {
"ios": {
"host": "localhost"
}
}
}
Does that look OK? That’s the full contents, FWIW.
btw, I am now happily coding working from the starter example so this is not a show-stopper for me. Thx again.