This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-16
Channels
- # beginners (7)
- # boot (63)
- # capetown (1)
- # cider (20)
- # clara (15)
- # cljs-dev (5)
- # clojure (195)
- # clojure-austria (2)
- # clojure-dev (46)
- # clojure-dusseldorf (9)
- # clojure-germany (6)
- # clojure-greece (36)
- # clojure-italy (5)
- # clojure-nl (4)
- # clojure-russia (173)
- # clojure-sg (1)
- # clojure-spec (93)
- # clojure-uk (65)
- # clojure-ukraine (2)
- # clojured (9)
- # clojureremote (1)
- # clojurescript (52)
- # core-async (14)
- # core-logic (5)
- # cursive (21)
- # data-science (8)
- # datomic (60)
- # emacs (83)
- # jobs (9)
- # jobs-discuss (7)
- # juxt (6)
- # klipse (2)
- # leiningen (1)
- # lumo (24)
- # mount (4)
- # numerical-computing (1)
- # off-topic (18)
- # om (37)
- # om-next (5)
- # onyx (13)
- # pedestal (1)
- # perun (44)
- # proton (2)
- # rdf (3)
- # re-frame (24)
- # reagent (4)
- # remote-jobs (3)
- # spacemacs (3)
- # testing (6)
- # vim (10)
- # yada (2)
When drawing a certain state, wich has among others a grid of 40 by 50, will displaying it as a canvas give much better performance then creating the HTML with rows, as I do now? Since I only want to show some things on the grid it seems to make more sense. Probably I will need to detect/set the size of the canvas, and lose a bit in responsiveness
I already found some awnsers and it seems to offer much better performance, and not being that much more difficult then what I’m using now. It would also seem to be fairly well possible to make it responsive at the same time
Check out react-virtualized
that's probably true
Hi, what approach similar to: https://github.com/exponent/react-native-invertible-scroll-view would you take on web?
@roman01la nice is that in Canary or is that already in Chrome now?
@dnolen in Canary, not enabled by default
I'm trying to access *data-readers*
in cljs, (specifically lumo), I saw a reference to *cljs-data-readers*
in an issue, but this also doesn't resolve. Does this var not exist in cljs for any particular reason?
i have a function that returns a list with two elements and another function that takes two arguments. i would like to apply the list's elements as arguments to the second function? google results that i found for apply are about macros and Java interop, couldn't see an obvious solution
use clojure.core/apply
@dominicm: I still haven't got around to implementing proper tagged literal support in Lumo. Can you open an issue if there isn't one already, please?
@doglooksgood then there would be no way to have closure advanced compilation rename property names
when I want to get property from some already defined struct, such as js/Event, I should always use aget
?
use aget
if it is not a standard name closure would know about, or that you don't have an extern for
by the way, i think it can make a big difference, and this is why closure gives the smallest size in most tests
also, there are some macros and libraries floating around to help with this, for example: https://github.com/reagent-project/reagent/blob/master/src/reagent/interop.clj#L26
Is there an equivalent of *file*
in cljs?
@isak I haven't use closure compiler before I knew clojurescript. how can I get the list of those names that closure compiler can recognise?
@doglooksgood AFAIK, it knows about the ones you can find here: https://github.com/google/closure-compiler/tree/master/externs
also here is a nice place to try things out in advanced mode: https://closure-compiler.appspot.com/home
@matthavener there isn’t currently
@phil this is the CLJS issue tracker: http://dev.clojure.org/jira/browse/CLJS
I don’t think anything like what you’re describing has been reported. Do you have a minimal failing example?
@phil the first thing to do is just report what you are seeing here or in the IRC channel or mailing list
@anmonteiro doesn't have the same issue, so my build might be a mess.
that conclusion sounds unlikely - I don’t see how your build could affect destructuring
@jr it works regardless