
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
@per-form/react
Advanced tools
Fast and easy form validation for React based on native HTML capabilities
# npm
npm install react-hook-form
# yarn
yarn add react-hook-form
# pnpm
pnpm install react-hook-form
import type { FormEvent } from 'react';
import { type IFormValues, useForm } from '@per-form/react';
export default function Demo() {
function handleSubmit(e: FormEvent<HTMLFormElement>, values: IFormValues) {
console.log(values);
}
const { formProps } = useForm({
onSubmit: handleSubmit,
});
return (
<form {...formProps}>
<input name="text" required />
<button type="submit">Submit</button>
</form>
);
}
import type { FormEvent } from 'react';
import { Form, type IFormValues } from '@per-form/react';
export default function Demo() {
function handleSubmit(e: FormEvent<HTMLFormElement>, values: IFormValues) {
console.log(values);
}
return (
<Form onSubmit={handleSubmit}>
<input name="text" required />
<button type="submit">Submit</button>
</Form>
);
}
Check the documentation for more.
Check the example App.
Clone this repo and then run:
npm i
npm run dev
FAQs
React library for form validation
The npm package @per-form/react receives a total of 0 weekly downloads. As such, @per-form/react popularity was classified as not popular.
We found that @per-form/react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.