JSX Runtime
Use framework-native JSX and hooks without React dependency.
Updated: 2026-02-23
Configuration
Set jsxImportSource to better-helperjs in tsconfig and Vite esbuild config.
tsconfig.json
{
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "better-helperjs"
}
}Supported hooks
The runtime provides useState, useEffect, useMemo, useReducer, useCallback, useRef, createContext, and useContext.