Fork me on GitHub
#shadow-cljs
<
2021-01-23
>
Jason00:01:54

I want to try out a js library whose install instructions want me to do something like

<NewLibProvider>
    <App />
</NewLibProvider>
What is the best / most idiomatic way to do that in a shadow app?

thheller00:01:05

depends on which react wrapper you prefer. reagent is probably easiest?

Jason01:01:12

an expertly weighted nudge in the right direction. thanks

Buidler16:01:57

I'm getting this error when initially firing up:

Note: The following stack trace applies to the reader or compiler, your code was not executed.
CompilerException Syntax error compiling at (rewrite_clj/custom_zipper/core.clj:59:1). #:clojure.error{:phase :compile-syntax-check, :line 59, :column 1, :source "rewrite_clj/custom_zipper/core.clj"}
I haven't fired up my project in a little while. It worked just fine last time I looked at it like a month ago but now the above occurs. Edit: looks like upgrading to latest shadow fixed it.

thheller17:01:00

this is not part of any code shadow-cljs uses. maybe cider-nrepl?