⚡ Resumability

Write onClick in JSX — the framework auto-converts to astra-on:click during SSR

0

app.tsx uses normal onClick={'{'}handleIncrement{'}'} JSX.
registerHandler() registers the function for SSR.
bootstrap(App) in main.ts handles everything.
View page source — the framework auto-generated astra-on:click attributes during SSR.

⚡ Resumed from SSR — no hydration needed