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
as far as I can tell it is the div
with height: 100%
. if I set that to 200px or so it displays the table just fine?
Thank you @thheller, I think that is the bug in react-data-grid itself, as it is under some big changes in recent versions. Anyway shadow-cljs is a great tool, which ease a lot of pain to use clojurescript.
1👍did you maybe install a different version of the package? sometimes stuff is moved to different packages. I vaguely remember someone else reporting and issue but it was something based on the package. can't remember the details though.
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?I did have the "full" d3 package installed before, but I don't see that either in the package.json or the lockfile anymore, and everything else I deleted and reinstalled as far as I can tell
@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...