wcstack 4.0.3 → 4.1.0
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 +2 -2
- package/dist/auto.min.js +1 -1
- package/dist/auto.min.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,9 +32,9 @@ This guide describes **`@wcstack/state` 4.0** and the packages released with it.
|
|
|
32
32
|
wcstack is buildless — load what you need from a CDN. The default is one tag per package, paying only for what the page uses:
|
|
33
33
|
|
|
34
34
|
```html
|
|
35
|
-
<script type="module" src="https://esm.run/@wcstack/state/auto"></script>
|
|
36
35
|
<script type="module" src="https://esm.run/@wcstack/router/auto"></script>
|
|
37
36
|
<script type="module" src="https://esm.run/@wcstack/fetch/auto"></script>
|
|
37
|
+
<script type="module" src="https://esm.run/@wcstack/state/auto"></script>
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
Each `/auto` script registers its custom elements and does nothing else. No initialization call, no bootstrap. Tags activate when the browser parses them. The tags fetch in parallel (every `/auto` is self-contained), so multiple tags cost requests, not a waterfall.
|
|
@@ -43,7 +43,7 @@ For an app that uses the SPA core anyway, **this package ships the bundle**: `wc
|
|
|
43
43
|
|
|
44
44
|
```html
|
|
45
45
|
<script type="module"
|
|
46
|
-
src="https://cdn.jsdelivr.net/npm/wcstack@4.0
|
|
46
|
+
src="https://cdn.jsdelivr.net/npm/wcstack@4.1.0/dist/auto.min.js"
|
|
47
47
|
integrity="sha384-…"></script>
|
|
48
48
|
```
|
|
49
49
|
|