Overview

Static data lives in the source tree as showcase-react-app/public/data/react-primitives/*.json (Vite copies them into the build, then the showcase build copies to showcase/data/react-primitives/). The React bundle issues ordinary GET requests so you can test with devtools Network, or replace files while serving over HTTP and refresh.

Endpoints are passed as data-tile-endpoint / data-kv-endpoint on the mount div so you can point at other JSON in the same origin without recompiling the bundle (edit this page's render() output and re-run build-showcase.py only).

If this line stays visible, the IIFE did not run — from repo root, run (cd showcase-react-app && npm ci && npm run build) then python3 generator/build-showcase.py. See showcase-react-app/README.md.