This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-13
Channels
- # announcements (18)
- # babashka (11)
- # beginners (29)
- # biff (2)
- # cider (14)
- # clojure (98)
- # clojure-boston (1)
- # clojure-europe (5)
- # clojure-korea (2)
- # clojure-madison (1)
- # clojure-norway (2)
- # clojurescript (10)
- # community-development (5)
- # fulcro (8)
- # lambdaisland (1)
- # nbb (1)
- # nrepl (107)
- # pathom (4)
- # pedestal (5)
- # portal (1)
- # rdf (2)
- # reitit (7)
- # releases (1)
- # rum (2)
- # shadow-cljs (8)
- # squint (18)
- # timbre (3)
- # xtdb (18)
Hi everyone, I'm interested in trying out frontend development with Clojurescript, and I would like a good React wrapper. The first thing I'm recommended is reagent/reframe, however people had been talk about them being not able to deal with latest react features, and I had chunks of code written already. Should I find something else to use, or continue using reagent?
FWIW, Reagent on top of React 17 without any new features has been working for me just fine. I do have to use hooks every now and then to work with React components that require it, but I don't build my own code with hooks. But there are wrappers that less of an abstraction than Reagent. I know of Helix and UIx.
Links to some other options: https://github.com/lilactown/helix https://github.com/pitch-io/uix https://github.com/ferdinand-beyer/refx They have slightly different syntax and way to interop with React itself.
I'm using react 18 with reagent in production. It works well with modern react libraries. But I recommend uix2 for new project only if you need the modern features. It can be used within reagent project. Reagent team has a plan to adopt hook and useSyncExternalStore. But it is 2024 already... https://www.metosin.fi/blog/reagent-towards-react-18 https://github.com/reagent-project/reagent/blob/master/ROADMAP.md
is https://github.com/oliyh/re-graph de facto standard library when it comes to using graphql with cljs?
Lacinia is such fun! And the linked re-graph page says, "This library behaves like the popular https://github.com/apollographql/subscriptions-transport-ws for graphql and as such is compatible with https://github.com/walmartlabs/lacinia-pedestal."