@preact-mvc/atoll 0.1.1 → 0.1.2
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/worker.d.ts +1 -1
- package/dist/worker.js +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ stream back over `postMessage` as ops the main-thread driver replays as
|
|
|
12
12
|
real DOM. Nothing in this package knows about the framework — that's what
|
|
13
13
|
`@preact-mvc/atoll-island` adds.
|
|
14
14
|
|
|
15
|
-
**[
|
|
15
|
+
**[PreactMVC — islands documentation](https://jwhenry3.github.io/preact-mvc/docs/islands/)**
|
|
16
16
|
|
|
17
17
|
## Install
|
|
18
18
|
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* `callbackProp`, `islandApp`. Worker side (import in worker entries):
|
|
9
9
|
* the `./worker` subpath re-exports `@atolljs/islands/worker` —
|
|
10
10
|
* `definePolyWorker`/`defineMonoWorker`, `emit`, instance scope. The
|
|
11
|
-
*
|
|
11
|
+
* PreactMVC adapter and `<Island/>` shell components live in
|
|
12
12
|
* `@preact-mvc/atoll-island`.
|
|
13
13
|
*/
|
|
14
14
|
export { islandApp, islandAppNameOf } from '@atolljs/islands';
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* `callbackProp`, `islandApp`. Worker side (import in worker entries):
|
|
9
9
|
* the `./worker` subpath re-exports `@atolljs/islands/worker` —
|
|
10
10
|
* `definePolyWorker`/`defineMonoWorker`, `emit`, instance scope. The
|
|
11
|
-
*
|
|
11
|
+
* PreactMVC adapter and `<Island/>` shell components live in
|
|
12
12
|
* `@preact-mvc/atoll-island`.
|
|
13
13
|
*/
|
|
14
14
|
export { islandApp, islandAppNameOf } from '@atolljs/islands';
|
package/dist/worker.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export type IslandWorkerDef = IslandWorkerDefinition;
|
|
|
30
30
|
/**
|
|
31
31
|
* Enter `key`'s instance scope, returning the previous key for restore —
|
|
32
32
|
* a named pair around `setActiveInstance` (which returns the prev itself),
|
|
33
|
-
* used by the
|
|
33
|
+
* used by the PreactMVC adapter's out-of-task render scoping.
|
|
34
34
|
*/
|
|
35
35
|
export declare const enterInstance: (key: string) => string;
|
|
36
36
|
/** Restore the scope `enterInstance` returned (`''` when there was none). */
|
package/dist/worker.js
CHANGED
|
@@ -23,7 +23,7 @@ import { setActiveInstance } from '@atolljs/islands/worker';
|
|
|
23
23
|
/**
|
|
24
24
|
* Enter `key`'s instance scope, returning the previous key for restore —
|
|
25
25
|
* a named pair around `setActiveInstance` (which returns the prev itself),
|
|
26
|
-
* used by the
|
|
26
|
+
* used by the PreactMVC adapter's out-of-task render scoping.
|
|
27
27
|
*/
|
|
28
28
|
export const enterInstance = (key) => setActiveInstance(key);
|
|
29
29
|
/** Restore the scope `enterInstance` returned (`''` when there was none). */
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@preact-mvc/atoll",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Framework-free worker-rendered islands: op protocol, proxy DOM, worker runtime, main-thread driver",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
6
7
|
"exports": {
|
|
7
8
|
".": {
|
|
8
9
|
"types": "./dist/index.d.ts",
|