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
sakalli 2020-10-13T14:29:49.094500Z

hi * looking at https://cljsrn.org/ but not sure what setup I should go with. on linux, for android and the app will eventually need some native bluetooth components in java/kotlin, so thinking sans expo. yet, the app is pretty simple. what would you recommend? + if a good tutorial exists to help that is of course grand...

dotemacs 2020-10-13T14:31:01.094700Z

Try this: https://github.com/flexsurfer/ClojureRNProject

sakalli 2020-10-13T14:33:25.095200Z

thanks @dotemacs ❤️

chris_johnson 2020-10-13T14:47:47.097300Z

@dotemacs That looks like a really solid start for doing a keel-up “TOS Enterprise -> Movie Enterprise” refit of my existing ExpoKit-encumbered architecture. Is there anything about the project that requires IDEA/Cursive, do yo happen to know? I would prefer to stay in my comfortable little emacs bubble hehe

dotemacs 2020-10-13T14:49:10.098300Z

I think that the author of that tutorial used his favourite editor. I don’t see anything there preventing your from using your editor of choice.

Oliver George 2020-10-13T23:24:22.110200Z

I've been converting some hiccup views to JSX as part of trialling StorybookJS as a development aid. Few opinionated observations while they're fresh:

👍 3
Oliver George 2020-10-13T23:25:41.110500Z

• JSX is clumsy by comparison. Hiccup has less ceremony. Structural editing makes a huge difference to the editing experience.

Oliver George 2020-10-13T23:25:44.110700Z

• JSX is less expressive. If your views have conditional logic or loops then you'll notice a lot more friction. It's possible but messy by comparison to hiccup.

Oliver George 2020-10-13T23:25:48.110900Z

• My hiccup code was less organised. Those other niggles make you want to organise your JSX more deliberately. Less inline styles. More breaking things up when it gets complex.

Oliver George 2020-10-13T23:25:49.111100Z

• Hiccup needs to support react hooks asap. Common js libs design for it now. Components in RN land are complex enough to need them.