Fork me on GitHub
#shadow-cljs
<
2019-05-19
>
Stefan12:05:38

Hi! Can also suppress the automatic injection of binaryage/devtools selectively in some of my :browser targets?

Stefan12:05:21

(Rationale: The shadow-cljs compiled code that I run in my embedded WebView does not support the devtools and therefore raises a warning.)

thheller13:05:24

@stefan.van.den.oord :devtools {:console-support false}

ūüĎć 1
dangercoder17:05:09

anyone with an example github project where you use material ui directly via npm?

dangercoder17:05:18

ah, cool. I found some very useful examples in the official docs. ūüôā https://shadow-cljs.github.io/docs/UsersGuide.html#_using_npm_packages

dangercoder20:05:25

I just imported material ui: (require '["@material-ui/core" :as x]) and it seems like toolbar is empty. Anyone with any tips on how I can "find the bug"?

dangercoder20:05:14

all the others are e.g #Object[WithStyles] but toolbar is #js {}

dangercoder20:05:22

I wonder how this is even possible..

souenzzo12:05:47

(require '["@material-ui/core/Toolbar" :as raw-Toolbaw]) Then (def Toolbar (.-default raw-Toolbar))

dangercoder13:05:04

I had some issues with npm I think, this has been solved ūüôā

thheller20:05:29

@jarvinenemil what is toolbar supposed to be? your example only defines x?