2.6.33 • Published 1 year ago
@dramaorg/deserunt-fugiat-molestiae v2.6.33
Features
- Built with performance, UX and DX in mind
- Embraces native HTML form validation
- Out of the box integration with UI libraries
- Small size and no dependencies
- Support Yup, Zod, AJV, Superstruct, Joi and others
Install
npm install @dramaorg/deserunt-fugiat-molestiae
Quickstart
import { useForm } from '@dramaorg/deserunt-fugiat-molestiae';
function App() {
const {
register,
handleSubmit,
formState: { errors },
} = useForm();
return (
<form onSubmit={handleSubmit((data) => console.log(data))}>
<input {...register('firstName')} />
<input {...register('lastName', { required: true })} />
{errors.lastName && <p>Last name is required.</p>}
<input {...register('age', { pattern: /\d+/ })} />
{errors.age && <p>Please enter number for age.</p>}
<input type="submit" />
</form>
);
}
Sponsors
Thanks go to these kind and lovely sponsors!
Past sponsors
Backers
Thanks go to all our backers! [Become a backer].
Contributors
Thanks go to these wonderful people! [Become a contributor].
2.2.17
1 year ago
2.5.25
1 year ago
2.5.26
1 year ago
2.5.27
1 year ago
2.6.33
1 year ago
2.5.21
1 year ago
2.3.20
1 year ago
2.5.22
1 year ago
2.5.23
1 year ago
2.5.24
1 year ago
2.6.30
1 year ago
2.6.31
1 year ago
2.6.32
1 year ago
2.5.20
1 year ago
2.3.17
1 year ago
2.3.19
1 year ago
2.3.18
1 year ago
2.6.27
1 year ago
2.6.28
1 year ago
2.6.29
1 year ago
2.4.20
1 year ago
2.2.16
1 year ago
2.2.15
1 year ago
2.2.13
1 year ago
2.2.14
1 year ago
2.2.12
1 year ago
2.2.11
1 year ago
2.2.10
1 year ago
2.2.9
1 year ago
2.2.8
1 year ago
2.1.8
1 year ago
2.1.7
1 year ago
2.1.6
1 year ago
2.1.5
1 year ago
2.1.4
1 year ago
2.0.3
1 year ago
2.0.4
1 year ago
2.0.2
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago