Fork me on GitHub
#cljsrn
<
2017-01-05
>
tiensonqin04:01:56

@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)

tiensonqin04:01:06

It currently uses https://github.com/aJchemist/boot-figwheel, will switch to boot-figload once it’s stable. The experience is quite good though.

tiensonqin04:01:33

Forget that you should also run yarn install or npm install, have fun!

martinklepsch07:01:11

React Native + CLJS open source ethereum wallet buzz app https://github.com/status-im/status-react

pesterhazy07:01:59

Any reason to choose figwheel over boot-reload

martinklepsch07:01:45

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

ejelome08:01:32

curious, do you need need to learn reactjs first before diving to react-native before diving to re-natal?

ejelome08:01:10

or can you just dive to re-natal and know react-native API?

tiensonqin08:01:20

@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.

pesterhazy08:01:10

@tiensonqin yeah I'm pretty excited about boot-figreload

pesterhazy08:01:28

once it's out it should solve a lot of our problems with boot-react-native

pesterhazy08:01:38

good point about the two websocket conenctions, hadn't thought about that!

pesterhazy08:01:18

boot-reload does work reliably for me with react-native, though boot-cljs-repl doesn't

tiensonqin08:01:33

I’ll follow boot-figreload, hope it’ll be stable soon.

pesterhazy08:01:12

is there a reason exponent/react-native support should be in separate projects?

martinklepsch08:01:49

@pesterhazy what in particular are you excited about with boot-figreload

tiensonqin08:01:17

@pesterhazy Are you meaning bindings? I’ve thought about separate them, maybe in days.

pesterhazy08:01:21

I was referring to your announcement above

tiensonqin08:01:26

@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.

pesterhazy08:01:43

- 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

pesterhazy08:01:36

does that make sense?

pesterhazy08:01:43

figwheel seems to have better support for non-browser environments too

tiensonqin08:01:43

@pesterhazy Maybe i’m misleading, lein new exponent your-project will only generate one project.

pesterhazy08:01:57

@tiensonqin ah I understand now

ejelome08:01:22

@tiensonqin, thanks, so in essence, you still need to know reactjs workflow before diving to re-natal, and knowing cljs is not enough

pesterhazy08:01:08

yeah you need some react knowledge and read js documentation nfortunately

tiensonqin09:01:29

@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.

ejelome09:01:43

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

tiensonqin09:01:43

@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

ejelome09:01:19

oh, never saw this one, thanks! 😄

tiensonqin09:01:04

Yeah, it’s actually pretty new, having fun!

dottedmag20:01:12

Has anyone tried using ClojureScript with React Native for Cocoa on macOS?