This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-25
Channels
- # aleph (1)
- # beginners (72)
- # boot (3)
- # cider (28)
- # cljs-dev (193)
- # cljsrn (11)
- # clojure (73)
- # clojure-brasil (3)
- # clojure-gamedev (2)
- # clojure-russia (6)
- # clojure-spec (30)
- # clojure-uk (26)
- # clojured (1)
- # clojurescript (32)
- # code-reviews (9)
- # core-async (4)
- # datascript (5)
- # datomic (9)
- # dirac (38)
- # fulcro (23)
- # garden (11)
- # leiningen (1)
- # luminus (11)
- # lumo (6)
- # off-topic (17)
- # quil (2)
- # re-frame (2)
- # reagent (3)
- # ring (3)
- # shadow-cljs (12)
- # spacemacs (4)
- # sql (2)
- # unrepl (85)
- # vim (3)
I just have a try on shadow-cljs
+ react-native
, I found the experience is really awesome!!
@doglooksgood are you using a cljs react wrapper? Expo? I will start a project soon with re-frame and expo and I will try using shadow. Do you have a template somewhere?
@mynomoto there's one serious problem is that no__ repl to use. how I tried is just create project with react-native init
and shadow-cljs init
. shadow-cljs
has a target called npm-module
, the output js can be directly imported from .js
(`App.js` or index.js
in this case). there's no figwheel needed. React Native built-in HMR
works.
But REPL is important for ClojureScript, it's likely still a lot of work should be done with shadow-cljs
so we can have a perfect solution.
@doglooksgood can you describe your workflow on cljs? I have been doing webapps for years using only live reload with figwheel or boot as is everyone I know. I use the repl all the time doing clojure on the jvm. I'm really interested on a repl based workflow on cljs(rn).
@mynomoto you can use repl in cljs just like use it in clojure. you mean how to setup or why use cljs repl?
No, the workflow itself. Like do you eval components in the repl and they change on the view you are working on?
But not the views themselves? Or more clearly, the views only change because of state changes, not changes on the view code?
@doglooksgood that's helpful. Thank you. I will try doing it this way soon.