It is expected to display the table, but it did not show any thing now if I use the canary.22 version of the lib.
The expected result: https://adazzle.github.io/react-data-grid/canary/?path=/story/demos--common-features
I'm having some trouble using cljsjs/react-select
in a reagent
project (I'm pretty new to CLJS). The problem is, I get this: The required namespace "cljsjs.react-select" is not available,
output from shadow-cljs
. The dependencies in my shadow-cljs.edn
file look like this:
:dependencies [[binaryage/devtools "1.0.0"]
[nrepl "0.7.0"]
[stylefy "2.2.1"]
[reagent "0.10.0"]
[cljsjs/react-select "2.4.4-0" :exclusions [cljsjs/react]]]
My require
statement inside the reagent
component looks like this:
(:require
[cljsjs.react-select]
[stylefy.core :as stylefy
:refer [use-style]]))
Does anyone have an idea of what I might be doing wrong---or an example of code working with cljs/react-select
that I might be able to consult?@alibris.lumos For shadow-cljs you shouldn't be using cljsjs
, check out this part of the docs: https://shadow-cljs.github.io/docs/UsersGuide.html#cljsjs
Or use that workaround in the docs, I guess
@isak Thanks for pointing that out! I'll read up on that...