This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-05
Channels
- # beginners (29)
- # boot (29)
- # cider (54)
- # cljs-dev (99)
- # cljsjs (31)
- # cljsrn (39)
- # clojars (32)
- # clojure (171)
- # clojure-austin (2)
- # clojure-berlin (5)
- # clojure-brasil (3)
- # clojure-greece (2)
- # clojure-italy (1)
- # clojure-korea (11)
- # clojure-spec (202)
- # clojure-uk (166)
- # clojurescript (130)
- # cursive (54)
- # datomic (99)
- # dirac (18)
- # figwheel (6)
- # hoplon (23)
- # lambdaisland (3)
- # leiningen (8)
- # luminus (14)
- # off-topic (11)
- # om (3)
- # om-next (24)
- # onyx (59)
- # planck (25)
- # protorepl (10)
- # re-frame (49)
- # reagent (14)
- # ring-swagger (2)
- # rum (46)
- # schema (1)
- # slack-help (6)
- # specter (7)
- # testing (7)
- # untangled (115)
- # yada (1)
@pesterhazy @vikeri Just released exponent support for boot. To try it: 1. lein new exponent your-project 2. cd your-project && boot dev 3. Open Exponent XDE (https://docs.getexponent.com/versions/v12.0.0/introduction/installation.html)
It currently uses https://github.com/aJchemist/boot-figwheel, will switch to boot-figload once it’s stable. The experience is quite good though.
Forget that you should also run yarn install
or npm install
, have fun!
React Native + CLJS open source ethereum wallet buzz app https://github.com/status-im/status-react
@tiensonqin looks great
Any reason to choose figwheel over boot-reload
Re “Status” above: you can sign up for early access here: https://status.im/ — let me know if you end up installing it, would like to try with somebody
curious, do you need need to learn reactjs
first before diving to react-native
before diving to re-natal
?
@pesterhazy A big reason is the repl.
boot-cljs-repl relies on weasel, so you need one reload server and one repl server. Figwheel server support both.
Also I still have the websocket occupied
problem on Android with weasel.
Another reason is currently I think figwheel supports more features and optimizations than boot-reload, like it won’t reload cljs.core, goog.*, heads up.
boot-react-native reload sometimes works, but sometimes not works, maybe it’s my wrong setup.
I’m also still learning the boot ecosystem and BRN (btw, :thumbsup: ), right now it seems exciting, especially the integrate with figwheel.
@tiensonqin yeah I'm pretty excited about boot-figreload
once it's out it should solve a lot of our problems with boot-react-native
good point about the two websocket conenctions, hadn't thought about that!
boot-reload does work reliably for me with react-native, though boot-cljs-repl doesn't
I’ll follow boot-figreload, hope it’ll be stable soon.
is there a reason exponent/react-native support should be in separate projects?
@pesterhazy what in particular are you excited about with boot-figreload
@pesterhazy Are you meaning bindings? I’ve thought about separate them, maybe in days.
I was referring to your announcement above
@ejelome I’ll try to read react component lifecycle first, then diving to react-native and reagent. re-natal, boot-react-native or exponent-cljs-template are just different tools to help cljsrn development easier.
- code sharing with the majority of cljs users - potential of fixing some long-standing issues with boot-reload's interface (like confusing parameters, e.g. asset-path) - fixing issues with boot-cljs-repl (never worked for me really) - fix issues with reloading google closure namespace - potentially better error messages ^^ @martinklepsch
does that make sense?
figwheel seems to have better support for non-browser environments too
@pesterhazy Maybe i’m misleading, lein new exponent your-project
will only generate one project.
@tiensonqin ah I understand now
@tiensonqin, thanks, so in essence, you still need to know reactjs workflow before diving to re-natal, and knowing cljs is not enough
yeah you need some react knowledge and read js documentation nfortunately
@ejelome https://facebook.github.io/react/docs/react-component.html You don’t need them all, but it helps.
@pesterhazy Is it ok to also add https://github.com/tiensonqin/exponent-cljs-template to #cljsrn heading? I think right now it’s one of the most easiest way for new beginners to try clojurescript with react native.
good idea
Thanks!
thanks again, I am trying to encourage friends to try react-native while using clojurescript instead of javascript, so I was curious what's the entry point I can suggest them
@ejelome If you are new to either Clojurescript or React Native, I’d suggest Exponent (https://getexponent.com/), since you don’t need to open Xcode or Android Studio then, also you can quickly share your app to your friends.
Here is docs for Using Clojurescript with Exponent
:
https://docs.getexponent.com/versions/v12.0.0/guides/using-clojurescript.html
Yeah, it’s actually pretty new, having fun!