octane 0.1.16 → 0.1.18

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 CHANGED
@@ -9,11 +9,13 @@ Octane is a fast, JavaScript 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. 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`.
12
+ retain React semantics, while `null` means every render. Built-in hook calls
13
+ retain this inference inside compiler-processed custom hooks, including those in
14
+ plain `.ts`/`.js` modules. Inferring a dependency argument at a call to a custom
15
+ wrapper is narrower: the wrapper must be locally declared in a fully compiled
16
+ `.tsrx`/`.tsx` module and transparently forward its callback and final dependency
17
+ parameter to a supported hook. This package ships both the runtime and compiler,
18
+ with the compiler exposed at `octane/compiler`.
17
19
 
18
20
  For the full story, see the
19
21
  [main README](https://github.com/octanejs/octane#readme).