silvery 0.15.0 → 0.16.0
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 +2 -2
- package/dist/index.js +22 -22
- package/dist/ink.js +6 -6
- package/dist/runtime.js +7 -7
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Powerful apps. Polished UIs. Proudly terminal.**
|
|
4
4
|
|
|
5
|
-
Ink-compatible React renderer for interactive terminal apps. Same `Box`, `Text`, `useInput` API you know.
|
|
5
|
+
Ink-compatible React renderer for interactive terminal apps. Same `Box`, `Text`, `useInput` API you know. 3–27× faster (typically 15–20×) in mounted rerender benchmarks.
|
|
6
6
|
|
|
7
7
|
```console
|
|
8
8
|
$ npm install silvery react
|
|
@@ -35,7 +35,7 @@ await render(<Counter />).run()
|
|
|
35
35
|
|
|
36
36
|
### Shiny new stuff
|
|
37
37
|
|
|
38
|
-
- **[Best-in-class performance](https://silvery.dev/guide/silvery-vs-ink#performance-size)** —
|
|
38
|
+
- **[Best-in-class performance](https://silvery.dev/guide/silvery-vs-ink#performance-size)** — 3–27× faster (typically 15–20×) than Ink in mounted rerender benchmarks, 10–20× less terminal output. Cell-level dirty tracking, only changed cells emit. Per-node skip for unchanged subtrees. Works in inline mode with native scrollback, not just fullscreen
|
|
39
39
|
- **Pure TypeScript, zero native deps** — no WASM, no build steps. [Layout via Flexily](https://silvery.dev/guide/layout-engine) (or Yoga). Works on Alpine, CI, Docker, everywhere
|
|
40
40
|
- **[Web-like responsive layout](https://silvery.dev/guide/silvery-vs-ink#responsive-layout)** — `useBoxRect()` returns actual dimensions during render. No post-render measurement, no two-pass layout cycle. Enables:
|
|
41
41
|
- [Scroll containers](https://silvery.dev/guide/scrolling) — `overflow="scroll"` with virtualization
|