squint-cljs 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/core.js +3 -1
- package/lib/cli.js +34 -1020
- package/lib/cljs_core.js +769 -770
- package/lib/compiler.js +466 -468
- package/lib/compiler.node.js +1111 -0
- package/node.js +1 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -151,6 +151,13 @@ Note that when using a Clojure expression, you escape the JSX context so when yo
|
|
|
151
151
|
#jsx [:span "Even"])])
|
|
152
152
|
```
|
|
153
153
|
|
|
154
|
+
To pass props, you can use `:&`:
|
|
155
|
+
|
|
156
|
+
``` clojure
|
|
157
|
+
(let [props {:a 1}]
|
|
158
|
+
#jsx [App {:& props}])
|
|
159
|
+
```
|
|
160
|
+
|
|
154
161
|
See an example of an application using JSX [here](https://squint-cljs.github.io/demos/squint/solidjs/) ([source](https://github.com/squint-cljs/squint/blob/main/examples/solidjs/src/App.cljs)).
|
|
155
162
|
|
|
156
163
|
## Async/await
|
|
@@ -177,6 +184,10 @@ In arbitrary order, these features are planned:
|
|
|
177
184
|
|
|
178
185
|
See [slides](https://www.dropbox.com/s/955jgzy6hgpx67r/dcd2022-cljs-reimagined.pdf?dl=0) of a presentation given at Dutch Clojure Days 2022 about cherry and squint.
|
|
179
186
|
|
|
187
|
+
## Development
|
|
188
|
+
|
|
189
|
+
Development happens in [compiler-common](https://github.com/squint-cljs/compiler-common).
|
|
190
|
+
|
|
180
191
|
## Core team
|
|
181
192
|
|
|
182
193
|
The core team consists of:
|