octane 0.1.6 → 0.1.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/README.md +5 -2
- package/dist/compiler/bundler.js +662 -35
- package/dist/compiler/client-only-server.js +649 -0
- package/dist/compiler/compile-renderer-boundaries.js +1080 -0
- package/dist/compiler/compile-universal.js +2172 -0
- package/dist/compiler/compile.js +6049 -628
- package/dist/compiler/hook-deps.js +346 -35
- package/dist/compiler/hydrate-boundaries.js +1505 -0
- package/dist/compiler/index.js +1 -0
- package/dist/compiler/jsx-namespace.js +19 -0
- package/dist/compiler/native-change-diagnostics.js +503 -0
- package/dist/compiler/renderer-boundaries.js +475 -0
- package/dist/compiler/renderers.js +548 -0
- package/dist/compiler/slot-hooks.js +885 -48
- package/dist/compiler/vite.d.ts +66 -0
- package/dist/compiler/vite.js +249 -20
- package/dist/compiler/volar.js +35 -4
- package/dist/component-flags.d.ts +6 -0
- package/dist/component-flags.js +15 -0
- package/dist/constants.d.ts +30 -0
- package/dist/constants.js +28 -1
- package/dist/dom-tables.d.ts +1 -0
- package/dist/dom-tables.js +8 -0
- package/dist/html-tree-validation.d.ts +32 -0
- package/dist/html-tree-validation.js +150 -0
- package/dist/hydration/condition.d.ts +5 -0
- package/dist/hydration/condition.js +15 -0
- package/dist/hydration/event-capture.d.ts +30 -0
- package/dist/hydration/event-capture.js +152 -0
- package/dist/hydration/idle.d.ts +7 -0
- package/dist/hydration/idle.js +22 -0
- package/dist/hydration/index.d.ts +13 -0
- package/dist/hydration/index.js +18 -0
- package/dist/hydration/interaction-config.d.ts +2 -0
- package/dist/hydration/interaction-config.js +11 -0
- package/dist/hydration/interaction.d.ts +7 -0
- package/dist/hydration/interaction.js +35 -0
- package/dist/hydration/load.d.ts +4 -0
- package/dist/hydration/load.js +15 -0
- package/dist/hydration/media.d.ts +4 -0
- package/dist/hydration/media.js +22 -0
- package/dist/hydration/never.d.ts +4 -0
- package/dist/hydration/never.js +12 -0
- package/dist/hydration/types.d.ts +75 -0
- package/dist/hydration/types.js +0 -0
- package/dist/hydration/visible.d.ts +8 -0
- package/dist/hydration/visible.js +68 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +57 -2
- package/dist/profiling.d.ts +139 -0
- package/dist/profiling.js +428 -0
- package/dist/react/fiber-adapter.d.ts +37 -0
- package/dist/react/fiber-adapter.js +57 -0
- package/dist/react/index.d.ts +55 -0
- package/dist/react/index.js +391 -0
- package/dist/react/server.d.ts +31 -0
- package/dist/react/server.js +71 -0
- package/dist/react/shared.d.ts +44 -0
- package/dist/react/shared.js +47 -0
- package/dist/runtime.d.ts +235 -56
- package/dist/runtime.js +4864 -1033
- package/dist/runtime.server.d.ts +281 -39
- package/dist/runtime.server.js +1966 -463
- package/dist/sanitize-url.js +32 -0
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +48 -0
- package/dist/universal.d.ts +574 -0
- package/dist/universal.js +5531 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +5 -0
- package/package.json +47 -3
package/README.md
CHANGED
|
@@ -9,8 +9,11 @@ Octane is a fast, TypeScript-first UI framework, and the successor to
|
|
|
9
9
|
already know, a compiler that keeps the runtime small and fast, no rules of
|
|
10
10
|
hooks, and no hand-maintained dependency arrays in the common case. Omit a hook's
|
|
11
11
|
dependency list and the compiler derives it from the closure; explicit arrays
|
|
12
|
-
retain React semantics, while `null` means every render.
|
|
13
|
-
|
|
12
|
+
retain React semantics, while `null` means every render. Locally declared custom
|
|
13
|
+
hooks in full-compiled `.tsrx`/`.tsx` modules also qualify when they transparently
|
|
14
|
+
forward their callback and final dependency parameter to a supported hook. This
|
|
15
|
+
package ships both the runtime and compiler, with the compiler exposed at
|
|
16
|
+
`octane/compiler`.
|
|
14
17
|
|
|
15
18
|
For the full story, see the
|
|
16
19
|
[main README](https://github.com/octanejs/octane#readme).
|