This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-16
Channels
- # aleph (1)
- # announcements (3)
- # babashka (24)
- # beginners (333)
- # clj-kondo (36)
- # cljs-dev (11)
- # clojure (75)
- # clojure-italy (3)
- # clojure-uk (15)
- # clojurescript (31)
- # core-logic (18)
- # cursive (2)
- # data-science (3)
- # datomic (1)
- # events (1)
- # fulcro (13)
- # graalvm (2)
- # jobs (1)
- # kaocha (2)
- # malli (1)
- # overtone (6)
- # re-frame (7)
- # reagent (17)
- # rewrite-clj (3)
- # shadow-cljs (10)
- # sql (9)
- # vim (1)
If I’m importing an NPM class with a period in it? import { Document } from 'react-pdf/dist/entry.webpack';
I have a JS module I just added to my classpath:
import React from "react";
console.log(React);
logs undefined
. I am able to require "react"
in my CLJS ns' just fine@lilactown actually the import React
would be correct but due to undefined CJS->ESM interop it is still import *
for now
@holmes89 was there an actual question? importing with a dot is fine if that is the actual name of the file?
Sorry my question was how do you use the import statement for a library that has a dot or an @ in it in the require
statement in a cljs file?
heya, is there a date for the next release?
@filipematossilva will try to do one tomorrow, kinda wanted to finish the UI CLJS eval parts but that was way more work than I anticipated 😛
no pressure from me, just wondering 😄