This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-20
Channels
- # aleph (11)
- # announcements (3)
- # babashka (35)
- # babashka-sci-dev (28)
- # beginners (29)
- # calva (51)
- # cider (33)
- # clj-kondo (26)
- # clj-on-windows (1)
- # clojure (40)
- # clojure-austin (1)
- # clojure-europe (47)
- # clojure-nl (9)
- # clojure-norway (7)
- # clojure-uk (5)
- # clojurescript (69)
- # conjure (30)
- # cursive (7)
- # data-science (9)
- # datomic (2)
- # etaoin (10)
- # events (2)
- # fulcro (1)
- # graalvm (1)
- # gratitude (6)
- # helix (16)
- # honeysql (20)
- # hyperfiddle (14)
- # inf-clojure (2)
- # jobs (1)
- # jobs-discuss (12)
- # kaocha (9)
- # leiningen (2)
- # lsp (4)
- # malli (8)
- # music (9)
- # off-topic (12)
- # pathom (10)
- # portal (14)
- # practicalli (15)
- # re-frame (27)
- # reitit (7)
- # remote-jobs (4)
- # sci (37)
- # shadow-cljs (16)
- # sql (8)
- # tools-deps (6)
- # vim (6)
- # xtdb (21)
I'm not, because j/lit is taking a clojure vector, which is interpreted as an Array (no ordering issues). The problem with stitches and css happens at root level when they make resets, at deeper levels the maps are well behaved semantically. its like {'green' 'this, 'red' 'that'}
Hello folks, nice to meet you. I'm really in need of helps for installing helix + react.js. I've attached the screenshot what I'm getting after npm install, npm start. Please help me and let me know if anyone need more info. thanks in advance.
Thanks for reaching out to me @U4YGF4NGM, Would it be possible for you to review my codebase for a while? I can share my github repo with you.
I might not get to it for awhile. are you using some external React component library?
Yes, syncfusion ones.
you're likely importing those components incorrectly, the error says that it got an undefined value when it expected a React component
try logging the components you're bringing in, and fiddling with the way you require them
@U4YGF4NGM, please check it out this codebase
You are passing cell-spacing to DashboardLayoutComponent it looks like a cljs vector. The library expects a js array right ? Maybe missing a #js if SeriesDirective is a js component {:dataLabel {:visible false}} would be #js {:dataLabel #js {:visible false}}
Thanks for your insights, let me look into it
I have tried it and many other methods as well. Now there's box empty box showing.
@U03FS95UAMT have you turned the data1, data2, data3 points to cljs ? You could use clj->js on these structures. As far as I remember the style property of a component just is transformed in js if the ^:native is true I prefer not to use it and do like you are doing camelizing the names of the attributes like the target library demands, but If I remember correctly you have to put #js on style property too. In fact when I have literal nested data structures that need to turn into js I use https://github.com/applied-science/js-interop they have a function called (j/lit that and you dont pay the price of the transformation because it happens at compile time (because its a macro), clj->js does the job if you dont want another dependency, but it will run at runtime.
Thanks!