This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-13
Channels
- # announcements (1)
- # bangalore-clj (1)
- # beginners (47)
- # boot (16)
- # calva (33)
- # cider (14)
- # clj-kondo (3)
- # clojure (46)
- # clojure-india (1)
- # clojure-italy (6)
- # clojure-nl (4)
- # clojure-uk (5)
- # clojurescript (10)
- # dirac (8)
- # emacs (1)
- # fulcro (1)
- # leiningen (14)
- # lumo (1)
- # off-topic (178)
- # pathom (9)
- # planck (17)
- # quil (2)
- # reagent (5)
- # reitit (6)
- # shadow-cljs (55)
- # tools-deps (3)
I am watching the 33rd Degree presentation, Red Hat Lead, on Vert.x and I am hooked because I can run my code on server side and client side across an event bus (web sockets)… So I can get away from the AJAX architecture. Has anyone tried using Clojurescript with Vert.x? Also, I can write Clojure code on Vert.x, for the JVM. Some presentations said EDN can be used to share code across server side and client side?
(Math/abs 1)
is the same as (js/Math.abs 1)
. Which js namespaces are referable like this in CLJS?
found it I think: https://github.com/clojure/clojurescript/blob/950032dba300451835c4c7c2a0c1c74ca6d0b49a/src/main/clojure/cljs/analyzer.cljc#L776
I need to add a infinite scroll
which loads data from an api. Any recommendations of a useful library for cljs? I tried to make my own component with re-com but I could not manage to set the scroll position when the state was updated.
I used this lib: https://re-com.day8.com.au/#/scroller
(re-com/scroller
:attr {:onScroll scrolled}
:width "100%"
:v-scroll :auto
:height "450px"
:child (render-item-list column-settings))
not sure how to manipulate the DOM after the reagent-component is initialisedI'll have a look at that @borkdude, no time to re-invent the wheel atm. Thanks ✌️
@borkdude do you use the cljsjs-version?
Ok I was just wondering because I can't get the auto-complete to work in emacs for the package, but i'll do fine without it 🙂