Releases: nycruslan/view-json-react
Releases · nycruslan/view-json-react
Release list
v3.0.0
view-json-react v3 is a focused, read-only React JSON and JavaScript value inspector rebuilt for safety, accessibility, large datasets, and dependable package consumption.
Highlights
- Genuine WAI-ARIA tree semantics with complete keyboard navigation, type-ahead, managed focus, and accessible clipboard feedback.
- Bounded, iterative inspection with cycle detection, getter safety, Proxy failure handling, typed paths, and explicit non-JSON value rendering.
- Controlled and uncontrolled expansion, bounded full-tree search, deterministic sorting, expandable strings, themes, RTL, and custom leaf rendering.
- Optional dependency-free windowing through
view-json-react/virtual; the standard entry does not pay for virtualization. - Separate headless utilities through
view-json-react/headless. - Static CSP-friendly CSS, SSR-safe rendering, React Server Component boundaries, ESM and CommonJS, and version-matched declaration graphs.
- Zero runtime dependencies with React 18 and React 19 support.
- Bundled
llms.txtand Agent Skill guidance for version-aware AI coding tools.
Breaking changes from v2
- Import
view-json-react/styles.cssonce in your application. - Clipboard operations now report their asynchronous result through
CopyResult. - Array path segments are numbers, while
rootNameremains display-only. - Public package access is limited to the documented root, virtual, headless, stylesheet, and package metadata entries.
See the v2 → v3 migration guide for examples and the complete migration sequence.
Compatibility verified
- React 18.3 and React 19.3
- Node.js 18 SSR consumption and Node.js 24 development
- Next.js 16 App Router with React Server Components, static generation, dynamic SSR, Turbopack, and webpack
- Vite 8 client and SSR production builds
- Packed ESM, CommonJS, TypeScript, CSS, virtual, and headless consumers
Install
npm install view-json-react@3