This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-27
Channels
- # bangalore-clj (1)
- # beginners (187)
- # braveandtrue (52)
- # calva (7)
- # cider (17)
- # cljs-dev (14)
- # clojure (27)
- # clojure-austin (4)
- # clojure-dev (11)
- # clojure-finland (4)
- # clojure-italy (5)
- # clojure-nl (1)
- # clojure-russia (22)
- # clojure-spec (9)
- # clojure-uk (27)
- # clojurescript (91)
- # datomic (40)
- # duct (4)
- # emacs (14)
- # figwheel-main (36)
- # fulcro (11)
- # hoplon (10)
- # immutant (9)
- # instaparse (4)
- # java (1)
- # jobs (2)
- # off-topic (28)
- # pedestal (1)
- # reagent (15)
- # reitit (7)
- # remote-jobs (6)
- # ring-swagger (3)
- # shadow-cljs (28)
- # slack-help (1)
- # spacemacs (4)
- # specter (1)
- # sql (3)
- # testing (3)
- # tools-deps (24)
@gadfly361 what version of reagent are you using? Also, would I have to use goog.object.get for advanced compilation?
@thurmondmb I don't recall the version of reagent and away from a computer for a bit. And you can use either aget or goog.object/get in advanced compilation, but the goog way is the right way (aget works by accident)
I'm getting react errors when bringing react-sticky into my proj Uncaught Error: Assert failed: Could not find ReactDOM
and Uncaught Error: Assert failed: Could not find ReactDOMServer
then finally Uncaught TypeError: Cannot read property 'call' of undefined at Function.reagent.core.render.cljs$core$IFn$_invoke$arity$2 (core.cljs?rel=1535384746732:72) at reagent$core$render (core.cljs?rel=1535384746732:64) at HTMLDocument.iris_web$editcal$doc_ready_handler
yea 6. somthing
React Dom was split out of the main react I think for reagent 7 (?) And above .. and I'm sure react-sticky depends on a version of react where that is the case
thanks, I'll update, I guess I should be using lein ancient to keep up with my deps
I'd try reagent 0.7.0 first (just looking at the versions of react in react-sticky and in reagent) .. but probably work with reagent 8 too :man-shrugging:
so how would you create a sticky table header if div cannot be a child of header, yet sticky requires a div?
@gadfly361 do you use react sticky with tables and sticky table headers?
has anyone for that matter used a react library for stationary table headers for a reagent project? I am racking my brain on getting this work and keep getting stopped at everything I try
If you only need fixed header on one axis, and you can use fixed table layout, it can be implemented mostly on CSS, with just some JS to account for scrollbar: http://metosin.github.io/komponentit/#!/example.scrollbar_width https://github.com/metosin/komponentit/blob/master/example-src/cljs/example/scrollbar_width.cljs