Commit Graph

3 Commits

Author SHA1 Message Date
99fe5e1db9 Rename package from jfx to jsonsx
Co-authored-by: Ona <no-reply@ona.com>
2026-02-28 01:37:10 +00:00
2f9e0a9936 Rename package from jrx to jfx
Co-authored-by: Ona <no-reply@ona.com>
2026-02-28 01:27:37 +00:00
af85ad3b07 Add example: Bun HTTP server showcasing jrx JSX-to-JSON rendering
Bun React app with HMR that demonstrates jrx's render() pipeline.
Shows JSX source, live UI via @json-render/react, and JSON output
side by side.

- example/specs/simple.tsx: flat Stack > Text + Button
- example/specs/full.tsx: nested layout with state, events,
  visibility conditions, and watchers
- Uses defineCatalog + defineRegistry from @json-render/react
- Fix package.json exports to match actual tsup output (.js/.cjs
  instead of .mjs/.js)

Co-authored-by: Ona <no-reply@ona.com>
2026-02-28 00:48:37 +00:00