This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-31
Channels
- # announcements (22)
- # asami (19)
- # aws-lambda (4)
- # babashka (42)
- # beginners (43)
- # calva (28)
- # cider (1)
- # clerk (79)
- # clj-kondo (12)
- # clojure (47)
- # clojure-berlin (1)
- # clojure-brasil (1)
- # clojure-dev (12)
- # clojure-europe (40)
- # clojure-nl (2)
- # clojure-norway (5)
- # clojure-uk (3)
- # clojurescript (56)
- # clr (12)
- # conjure (8)
- # cursive (4)
- # datomic (78)
- # dev-tooling (6)
- # exercism (1)
- # fulcro (9)
- # hoplon (3)
- # jobs (3)
- # jobs-discuss (4)
- # lambdaisland (3)
- # leiningen (1)
- # london-clojurians (1)
- # lsp (125)
- # malli (32)
- # matcher-combinators (3)
- # nrepl (1)
- # off-topic (6)
- # pathom (39)
- # re-frame (13)
- # releases (2)
- # remote-jobs (3)
- # sci (7)
- # shadow-cljs (117)
- # sql (6)
- # squint (7)
- # tools-build (15)
- # tools-deps (12)
If run squint code from a script tag (eliding import & export declarations), can it use functions from the hosted
module directly?… when required in a previous script tag like so:`
[:script {:type "module"} "import squintCljs from ''"]
Does this library need to be attached to window
for global access like that?Or is there an example of how to use standard squint lib with hosed helper lib for automatic imports?
I’m having trouble getting these statements to resolve
import { _PLUS_, apply } from 'squint-cljs/core.js'
(if I’m trying to use a remote squint-js helper lib instance)You can use import maps for this like in this HTML: https://squint-cljs.github.io/squint/
Thank you! Will try out that config.
Is there a simple way to use squint-cljs/core.js
directly without doing the module, shim stuff?
Do I need the “interpeter” (eval) part if I am just trying to use cljs standard fns (like apply
) in a basic transpilation way?