@astro-form/react
v0.1.8
Published
React bindings for Astro Form (Rslib + Rstest + Storybook).
Downloads
936
Readme
@astro-form/react
React bindings for Astro Form (Rslib + Rstest + Storybook).
Scripts
pnpm build # Build ESM + CJS + d.ts
pnpm dev # Watch mode
pnpm typecheck # tsc --noEmit (src / node / tests / stories)
pnpm test # Run unit tests (rstest)
pnpm test:watch # Watch tests
pnpm storybook # Storybook dev server
pnpm build:storybook # Build static StorybookOutput
| Path | Content |
|------|---------|
| dist/es/*.mjs | ESM (bundleless) |
| dist/lib/*.js | CJS (bundleless) |
| dist/types | TypeScript declarations (+ astroform-jsx.d.ts) |
Docs
- Rslib: https://rslib.rs/
- Rstest: https://rstest.rs/
- Storybook + Rsbuild: https://storybook.rsbuild.rs/
