This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-27
Channels
- # beginners (54)
- # bitcoin (2)
- # boot (1)
- # calva (10)
- # cider (30)
- # cljs-dev (25)
- # cljsrn (17)
- # clojure (27)
- # clojure-dev (16)
- # clojure-estonia (3)
- # clojure-hk (1)
- # clojure-italy (8)
- # clojure-losangeles (1)
- # clojure-nl (17)
- # clojure-russia (1)
- # clojure-spec (15)
- # clojure-uk (45)
- # clojurebridge (1)
- # clojurescript (95)
- # clojurescript-ios (1)
- # core-async (5)
- # cursive (10)
- # datomic (8)
- # emacs (2)
- # figwheel-main (31)
- # fulcro (99)
- # hyperfiddle (3)
- # immutant (1)
- # jobs (13)
- # jobs-discuss (82)
- # keechma (6)
- # leiningen (3)
- # lumo (1)
- # nrepl (1)
- # off-topic (37)
- # onyx (1)
- # pedestal (6)
- # re-frame (7)
- # reitit (2)
- # remote-jobs (1)
- # ring-swagger (3)
- # rum (6)
- # shadow-cljs (14)
- # specter (4)
- # tools-deps (27)
- # yada (12)
Is there a way to use react higher-order component functions with rum? I've been trying to use https://aws-amplify.github.io/amplify-js/media/authentication_guide#using-components-in-react but I haven't figured out a way to get the wrapped rum component to mount.
Is it possible to define a component with rum/defc
that returns sibling nodes (i.e. [[:tr "row1"] [:tr "row2"]]
) instead of a single root node?
@U0HJNJWJH I tried using (list [:tr] [:tr])
but that’s producing the same error about returning an invalid react component. Were you referencing a different list
operator?
Oh hey, I figured it out. The project I’m working on was apparently still using Rum 10.8 and React 15. Support for this wasn’t added until React 16. Upgrading the project resolved the issue. Thank you for your help!