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
admarrs 2021-05-26T09:06:07.066300Z

@dnolen what a cool article https://vouch.io/developing-mobile-digital-key-applications-with-clojurescript/ It's really impressive what you've achieved with Krell. It would be interesting to learn more about the integration with Storybook.js

๐Ÿ‘ 3
1
1
1
๐Ÿ™Œ 1
Aleksander Rendtslev 2021-05-26T12:56:54.067900Z

I know Krell mentions shadow-cljs in its docs, but what are the pros/cons of one vs the other? Iโ€™ve been finding shadow to be working splendidly so Iโ€™m wondering what makes Krell intriguing

Aleksander Rendtslev 2021-05-26T12:57:12.068300Z

(meaning it wasnโ€™t clear to me from the notes in the docs. Might just be me who doesnโ€™t get it)

thheller 2021-05-26T13:14:34.068900Z

the argument is that krell is single purpose built for RN dev while shadow-cljs is more generic and also supports other stuff

thheller 2021-05-26T13:15:41.070Z

some people prefer custom built solutions like krell, some prefer all-in-one like shadow. really a preference thing. both work ๐Ÿ˜‰

โค๏ธ 1
๐Ÿ™Œ 1
dnolen 2021-05-26T16:45:05.071800Z

yes - there isn't that big of difference in RN functionality in the end - at work we embraced tools-deps long ago and Krell fits that workflow well (not saying that shadow can't o' course)

dnolen 2021-05-26T16:45:32.072200Z

@admarrs there is no integration story - it just works

dnolen 2021-05-26T16:46:15.073100Z

we just write everything in a Node project - then we require that as Node git dep - ClojureScript can see it and then we adapt the components for Reagent usage (one liners)

dnolen 2021-05-26T16:47:47.073800Z

given how seamlessly ClojureScript and JS can interoperate - I don't think this is a bad model for widening the hiring pool BTW

dnolen 2021-05-26T16:48:11.074400Z

have experienced UI devs do Storybook.js and slowly onboard them on ClojureScript for business logic

dnolen 2021-05-26T16:49:07.075100Z

it's interesting that neither of JS devs we hired had any experience with Storybook.js and for them it was head scratcher at first

dnolen 2021-05-26T16:49:22.075500Z

but I think both of them now would not go back to any other style of development - even if it was purely JS

dnolen 2021-05-26T16:50:57.076100Z

the other nice thing about this is that you can evict JS dep madness from business logic portion of the app

dnolen 2021-05-26T16:51:27.076400Z

in the app you see above there are only a tiny number of deps

dnolen 2021-05-26T16:51:54.076900Z

reagent, re-frame, core.async, core.match - that's it

๐Ÿ™Œ 3
dnolen 2021-05-26T17:04:29.077800Z

@michael.w.jung to clarify my point from before - if your new RN node_module requires native code (Java, iOS) you cannot avoid *rebuilding* the entire app - nothing to do w/ Krell at all