This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-02
Channels
- # announcements (12)
- # babashka (7)
- # babashka-sci-dev (46)
- # beginners (35)
- # biff (1)
- # calva (4)
- # cider (22)
- # clj-kondo (48)
- # clj-on-windows (4)
- # clojure (132)
- # clojure-europe (161)
- # clojure-germany (1)
- # clojure-nl (2)
- # clojure-uk (5)
- # clojurescript (39)
- # conjure (10)
- # core-typed (1)
- # cursive (48)
- # datalevin (6)
- # datascript (12)
- # datomic (9)
- # emacs (5)
- # events (1)
- # figwheel-main (2)
- # honeysql (7)
- # hyperfiddle (35)
- # improve-getting-started (8)
- # introduce-yourself (4)
- # london-clojurians (1)
- # off-topic (20)
- # podcasts-discuss (1)
- # re-frame (45)
- # reitit (5)
- # releases (2)
- # rum (7)
- # shadow-cljs (20)
- # spacemacs (4)
- # tools-build (58)
- # tools-deps (19)
- # xtdb (56)
What is the equivalent of reagent’s :>
or adapt-react-class
? https://github.com/reagent-project/reagent/blob/master/doc/InteropWithReact.md#creating-reagent-components-from-react-components
i.e. how can I use a react component from a JS library in Rum? Or is this not possible?
Ok, I think I got it to work via rum/adapt-class
. It didn’t work at first because I hard to do it to the value of the .-default
attribute of the imported JS lib, e.g. `
(rum/adapt-class
(.-default react-graph-vis)
...)
I want to create a simple app with server-side rendering. Are there are good project examples?
Not sure how good, but Grumpy.website does a bit of it https://github.com/tonsky/grumpy/blob/6b5da0f86b29c687fa163b0a8d1471638382b676/src/grumpy/core/web.clj#L67-L113
thank you both!