octane 0.1.3 → 0.1.5
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 -3
- package/dist/compiler/compile.js +2548 -380
- package/dist/compiler/hook-deps.js +724 -0
- package/dist/compiler/slot-hooks.js +145 -8
- package/dist/compiler/vite.js +84 -7
- package/dist/constants.d.ts +28 -13
- package/dist/constants.js +25 -81
- package/dist/css.js +35 -0
- package/dist/dom-tables.d.ts +13 -0
- package/dist/dom-tables.js +312 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +92 -0
- package/dist/runtime.d.ts +279 -25
- package/dist/runtime.js +2207 -300
- package/dist/runtime.server.d.ts +145 -8
- package/dist/runtime.server.js +706 -64
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +47 -1
- package/dist/server/rpc.js +9 -0
- package/dist/static/index.d.ts +14 -0
- package/dist/static/index.js +4 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,9 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
Octane is a fast, TypeScript-first UI framework, and the successor to
|
|
8
8
|
[Inferno](https://github.com/infernojs/inferno). It gives you the React API you
|
|
9
|
-
already know, a compiler that keeps the runtime small and fast,
|
|
10
|
-
hooks,
|
|
11
|
-
and the compiler
|
|
9
|
+
already know, a compiler that keeps the runtime small and fast, no rules of
|
|
10
|
+
hooks, and no hand-maintained dependency arrays in the common case. Omit a hook's
|
|
11
|
+
dependency list and the compiler derives it from the closure; explicit arrays
|
|
12
|
+
retain React semantics, while `null` means every render. This package ships both
|
|
13
|
+
the runtime and compiler, with the compiler exposed at `octane/compiler`.
|
|
12
14
|
|
|
13
15
|
For the full story, see the
|
|
14
16
|
[main README](https://github.com/octanejs/octane#readme).
|