cljsrn

https://github.com/drapanjanas/re-natal | https://github.com/drapanjanas/re-natal/wiki/FAQ | https://github.com/condense/mercury-app/wiki | https://github.com/seantempesta/expo-cljs-template/ https://www.npmjs.com/package/create-expo-cljs-app
dnolen 2020-04-13T15:28:09.043900Z

Hullo, we've been using ClojureScript with React Native for a couple years now and how found that the existing set of tools don't work quite as well as we would like. I've been working on a new simpler React Native integration for ClojureScript, it's not quite done yet but it's at the point where we'd like feedback from folks who are using React Native and who might be interested in a tool that's a bit more idiomatic and a la carte.

dnolen 2020-04-13T15:28:14.044100Z

https://github.com/vouchio/krell

🔥 8
dnolen 2020-04-13T15:29:43.045300Z

A lot of the changes to ClojureScript master were actually based on my experience developing Krell and realizing we could attain a lot of goals with a grander stroke.

dnolen 2020-04-13T15:30:34.046300Z

Krell uses the new bundle target and it is a pure extension to cljs.main, all the familiar commands are available and work.

dnolen 2020-04-13T15:30:48.046800Z

There is no stateful API, there is no configuration between Android and iOS

dnolen 2020-04-13T15:31:02.047100Z

there are no commands to remember that aren't cljs.main style commands

fricze 2020-04-13T15:35:40.048400Z

🔥 will try it out, for sure. what’s the hot/live reload story in Krell? you’re not using shadow, so are you using just React Native live reload, or does Krell has its own way to handle it?

dnolen 2020-04-13T15:38:08.048900Z

@andrzej.fricze the hot loader is the only missing feature, working on that now - it's not going to be very hard

dnolen 2020-04-13T15:38:33.049400Z

Krell also has pretty cool experimental feature which is auto-reconnect

dnolen 2020-04-13T15:39:57.051100Z

so you don't need to disable RN refresh if you don't want, Krell will just reconnect transparently

dnolen 2020-04-13T15:42:39.053100Z

it's worth noting that Krell is really for people who are comfortable with RN and don't need any hand holding - however happy as Krell matures happy to see people use it in their own tools (Expo integrations whatever) - but we're not going to do that stuff in Krell directly

đź‘Ť 2
2020-04-13T15:44:20.054500Z

Nice, I'll try Krell right now !

fricze 2020-04-13T15:44:56.055100Z

nice, I see. I had more problems than benefits from using Expo, so far, so I sympathize with your approach 🙂 less mess is better. thanks for sharing!

dnolen 2020-04-13T15:45:30.055800Z

yeah at Vouch we use Native modules so Expo is just non-starter and we're not going to support stuff we're not going to use ourselves

fricze 2020-04-13T15:46:49.056900Z

certainly it’s more safe to just go with React Native and let people integrate with Expo when somebody feels the real need

dotemacs 2020-04-13T17:35:01.058400Z

Wow, this is really cool @dnolen ! I’ll give it it a spin right away!

dnolen 2020-04-13T17:37:48.059Z

sorry there's not a beginning to end to tutorial yet - it's coming - but would like to finish the hot-loader first

đź‘Ť 4
dotemacs 2020-04-13T18:24:19.060Z

I just caught up with the chat on #cljs-dev and the new guide on webpack: https://github.com/clojure/clojurescript-site/blob/april-release-target-bundle/content/guides/webpack.adoc So I’ll try to piece it all with that…