Render Functions and JSX
Sprig's render-function style is the native h(tag, props, ...children) helper:
js
import { h, mount, signal } from 'sprig-framework';
const [count, setCount] = signal(0);
mount('#app', () => h('button', {
onClick: () => setCount((value) => value + 1),
}, () => `Count: ${count()}`));JSX is not implemented or configured in this project. Use h() or .sprig templates; do not assume React/Vue JSX transforms apply.