Skip to content

Add Vite, React Router, TanStack Start and Astro demos - #21

Merged
jim-risen merged 1 commit into
mainfrom
demos/framework-examples
Oct 21, 2026
Merged

jim-risen merged 1 commit into
mainfrom
demos/framework-examples

Conversation

@jim-risen

Copy link
Copy Markdown
Collaborator

Adds four React 19 demos, each showing both SciChartReact (initChart) and SciChartDeclarative (config):

  • Vite: a client-only single-page app, the simplest setup.
  • React Router (framework mode): server-rendered pages with the charts kept in the browser, one route with a <ClientOnly> wrapper and one with a clientLoader + HydrateFallback.
  • TanStack Start: server-rendered page with React.lazy and TanStack's <ClientOnly>.
  • Astro: a static page with the charts as client:only="react" islands.

They are the first demos covering React 19 and server-rendering frameworks. Each uses scichart 6.0.13 and the repo's own lib/ build, like the other demos, and has a short README on how it keeps SciChart.js out of the server render.

All four are added to the CI demo builds. Each was checked in a real browser in dev and production mode: both charts render, the wasm loads from the app's own server, and the console has no errors or hydration warnings.

@jim-risen jim-risen self-assigned this Oct 21, 2026
@jim-risen
jim-risen merged commit 702508e into main Oct 21, 2026
12 checks passed
@jim-risen
jim-risen deleted the demos/framework-examples branch October 21, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant