Clojurians
#cljs-dev
<
2018-10-24
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

miikka05:10:33

Hey, core.rrb-vector has a thing where they have (accidentally, I presume) a .clj namespace and .cljs namespace with the same name and the clj side has a macro with the same name as a cljs side function. When you :refer it, it depends on if you have the clj side already required whether you get the macro or the function. I assume this is not a bug in ClojureScript compiler, but more like undefined behavior?

miikka09:10:06

Ah, thanks

borkdude11:10:59

you’re right, my bad

borkdude11:10:22

sorry, brainfart

borkdude11:10:53

I was surprised that range accepts doubles and not just ints, but I guess it makes sense now

dnolen13:10:51

@mfikes feel free to apply

dnolen13:10:33

we should probably update the :npm-deps compiler option documentation to mention webpack and link to it

dnolen13:10:53

I'm surprised that so many people continue to ask about it, but I think they're probably finding it through compiler options

lee.justin.m17:10:27

Yea, I’ve fielded a ton of questions about npm-deps in #reagent and it seems like that article is the #1 way that people come to it.