@fictjs/runtime 0.0.9 → 0.0.10
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/dist/index.cjs +325 -198
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.dev.js +327 -198
- package/dist/index.dev.js.map +1 -1
- package/dist/index.js +325 -198
- package/dist/index.js.map +1 -1
- package/dist/slim.cjs +325 -198
- package/dist/slim.cjs.map +1 -1
- package/dist/slim.d.cts +1 -0
- package/dist/slim.d.ts +1 -0
- package/dist/slim.js +325 -198
- package/dist/slim.js.map +1 -1
- package/package.json +1 -1
- package/src/binding.ts +41 -13
- package/src/dom.ts +16 -6
- package/src/effect.ts +2 -1
- package/src/hooks.ts +14 -1
- package/src/list-helpers.ts +125 -47
- package/src/signal.ts +16 -2
package/dist/index.d.cts
CHANGED
|
@@ -441,6 +441,7 @@ declare function runInScope(flag: MaybeReactive<boolean>, fn: () => void): void;
|
|
|
441
441
|
interface HookContext {
|
|
442
442
|
slots: unknown[];
|
|
443
443
|
cursor: number;
|
|
444
|
+
rendering?: boolean;
|
|
444
445
|
}
|
|
445
446
|
declare function __fictUseContext(): HookContext;
|
|
446
447
|
declare function __fictPushContext(): HookContext;
|
package/dist/index.d.ts
CHANGED
|
@@ -441,6 +441,7 @@ declare function runInScope(flag: MaybeReactive<boolean>, fn: () => void): void;
|
|
|
441
441
|
interface HookContext {
|
|
442
442
|
slots: unknown[];
|
|
443
443
|
cursor: number;
|
|
444
|
+
rendering?: boolean;
|
|
444
445
|
}
|
|
445
446
|
declare function __fictUseContext(): HookContext;
|
|
446
447
|
declare function __fictPushContext(): HookContext;
|