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
joshmiller 2021-02-14T00:00:03.098900Z

@yannvahalewyn I was just looking at the JS version of that. I have a crappy reimplementation of half of Tailwind in my project, so I have been looking around for options.

yannvahalewyn 2021-02-14T13:33:21.102200Z

@joshmiller glad to show an option. Was it useful / would you do it differently?

yannvahalewyn 2021-02-15T16:14:53.110500Z

Good luck!

yannvahalewyn 2021-02-14T14:27:09.108700Z

I’m getting a tad confused with components/classes/elements today.

(defn root []
  ...
  [:> nav/NavigationContainer
    [:> Navigator
      [:> Screen {:name "Home" :component (r/reactify-component home-view/component)}]]]_

(defn start []
  (expo/render-root (r/as-element [:f> root])))
There’s a good mix of :>, :f>, reactify-component, as-element, etc.. I get the gist, but does anyone know of a good resource that explains the differences? I’m also looking for the documentation about those :> , I don’t know how these are called (reagent special keywords syntactic sugar thingies) making googling a bit tricky 🙃

yannvahalewyn 2021-02-15T14:33:51.110300Z

@lepistane thanks for the name! It’s not in the wiki and can’t find anything about beak operators though. @joshmiller I’m doing that too ofc 🙂

lepistane 2021-02-16T08:13:32.110900Z

alright i misplaced the info 🙂 it's in re-natal https://github.com/drapanjanas/re-natal/wiki/FAQ

yannvahalewyn 2021-02-17T11:37:04.113600Z

Thanks!

lepistane 2021-02-14T23:20:07.109Z

beak operator in reagent https://github.com/reagent-project/reagent i think it's in the wiki rest is explained there as well