This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-14
Channels
- # adventofcode (4)
- # announcements (11)
- # babashka (1)
- # beginners (45)
- # calva (31)
- # cider (12)
- # clj-kondo (1)
- # cljdoc (9)
- # cljs-dev (5)
- # cljsrn (11)
- # clojure (42)
- # clojure-australia (1)
- # clojure-germany (14)
- # clojure-italy (1)
- # clojurescript (20)
- # conjure (2)
- # cursive (11)
- # datomic (5)
- # emacs (2)
- # events (1)
- # fulcro (24)
- # graalvm (1)
- # honeysql (69)
- # malli (2)
- # off-topic (13)
- # reagent (12)
- # reitit (1)
- # shadow-cljs (14)
- # specter (2)
- # tools-deps (21)
- # uncomplicate (4)
@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.
@joshmiller glad to show an option. Was it useful / would you do it differently?
Yes useful to have a good breakdown. I’m not sure what I’m going to do at this point since I have my own style utilities littered all over my project, but I’m definitely going to switch to TW one way or another.
Good luck!
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 🙃beak operator in reagent https://github.com/reagent-project/reagent i think it's in the wiki rest is explained there as well
Fwiw I almost never use :>
, instead I have a react
ns with a bunch of (def view (r/adapt-react-class rn/View))
so I can just [view [...]]
@U45SLGVHV 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 🙂
alright i misplaced the info 🙂 it's in re-natal https://github.com/drapanjanas/re-natal/wiki/FAQ
some of it is in reagent https://github.com/reagent-project/reagent/blob/master/doc/ReactFeatures.md this will be important for u https://github.com/reagent-project/reagent/blob/master/doc/InteropWithReact.md @yannvahalewyn
Thanks!