This is a monorepo managed using pnpm workspaces
root
| package.json
| pnpm-workspace.yaml
packages
|
ββ main/
| package.json
ββ examples/
package.json
-
Main module: packages/main/ π¦ Published to npm.
-
Examples app: packages/examples/ π Deployed to GitHub Pages.
- Node.js 18+
- pnpm 9+ (recommended)
# Clone the repository
git clone https://github.com/amir0ff/reactjs-use-form.git
cd reactjs-use-form
# Install dependencies
pnpm install
# Build library in watch mode
pnpm dev
# Run tests
pnpm test
# Start the example app
pnpm dev:example