Compare commits

..
Author SHA1 Message Date
Chris Tate 5e1cd38f3c fix dashboard build 2026-02-23 23:08:11 -06:00
Chris Tate c1317edcbc update lockfile for widened react peer deps 2026-02-23 23:04:58 -06:00
Chris Tate e34b979feb fixes 2026-02-23 22:47:14 -06:00
Chris Tate eb59228e7a fixes 2026-02-23 10:55:21 -06:00
Chris Tate 87e6d07e3d fixes 2026-02-23 10:35:42 -06:00
Chris Tate 25d092d729 fixes 2026-02-23 10:12:50 -06:00
Chris Tate b8172cc13f improvements 2026-02-23 10:00:04 -06:00
Chris Tate 6ea45666f8 e2e tests 2026-02-23 09:47:56 -06:00
Chris Tate 18aa92279d fixes 2026-02-23 09:25:10 -06:00
Chris Tate f324463e8b fixes 2026-02-23 09:08:18 -06:00
Chris Tate 6aea5d76b2 fixes 2026-02-23 08:49:58 -06:00
Chris Tate 5421622395 fixes 2026-02-23 08:34:07 -06:00
Chris Tate 6746edf707 add store adapters 2026-02-23 02:09:54 -06:00
Chris Tate 294545b1b8 fix CI 2026-02-23 01:44:36 -06:00
Chris Tate b9dbdd2b51 fixes 2026-02-23 01:38:48 -06:00
Chris Tate 2e0d3987d0 improvements 2026-02-23 01:13:01 -06:00
Chris Tate b9887b8529 update docs 2026-02-23 01:01:34 -06:00
Chris Tate 9cf6b81ea2 improvements 2026-02-23 00:54:42 -06:00
Chris Tate 7ae05911a2 external store adapter for state management
Introduces a `StateStore` interface that lets users plug in their own state management (Redux, Zustand, XState, etc.) instead of being locked into the internal `useState`-based store.

- Added `StateStore` interface and `createStateStore()` factory to `@json-render/core`
- `StateProvider`, `JSONUIProvider`, and `createRenderer` now accept an optional `store` prop for controlled mode
- When `store` is provided, it becomes the single source of truth (`initialState`/`onStateChange` are ignored)
- When `store` is omitted, everything works exactly as before (fully backward compatible)
- Applied across all platform packages: react, react-native, react-pdf
2026-02-23 00:42:48 -06:00

Diff Content Not Available