Clojurescript

Use when writing, editing, reviewing, or discussing ClojureScript code that compiles to JavaScript and runs on a JS host (browser, Node.js, or other JS runtime). Triggers: .cljs files, .cljc files compiled to JS, shadow-cljs.edn, figwheel-main.edn, ClojureScript deps.edn projects, cljs.test, JavaScript interop (`js/`, `.-prop`, `(.method obj ...)`, `set!` on properties, `js-obj`, `clj->js`, `js->clj`, `goog.object/get`, `goog.object/set`, `aget`, `aset`), externs inference (`^js`, `^js/Foo`, `*warn-on-infer*`, `:infer-externs`), macro stage separation (`:require-macros`, `:refer-macros`, `:include-macros`), reader conditionals (`#?`, `#?@`, `:cljs`, `:default`), JS-flavored numerics (no `Ratio`, `BigInt`, `BigDecimal`; `(= 0.0 0)` is true), `^boolean` type hint, browser REPL, Node REPL, source maps, npm interop, the `cljs.main` CLI, shadow-cljs, or figwheel-main. Covers JavaScript interop, host-typed exception handling (`catch :default`, `js/Error`), externs and advanced compilation, macro stage separation, J

brackendev 00a0f04 3 files · 25.4 KB Updated

File contents

brackendev/clojurescript-skills/tree/main/.apm/skills/clojurescript commit 00a0f04281

Frequently asked questions

npx skillmds@latest add brackendev/clojurescript