Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@felte/react
Advanced tools
Felte is an extensible form library originally built for Svelte but easily integrated with React using this package. Felte, on its most simple form, only requires you to set a ref
to your form element to work. No custom Field
or Form
components are needed, making custom styles really easy to do. You can see it in action in this CodeSandbox demo
name
attribute is necessary).reporter
packages.import React, { useEffect } from 'react';
import { useForm } from '@felte/react';
function Form() {
const { form } = useForm({
onSubmit: (values) => console.log(values),
});
return (
<form ref={form}>
<input name="email" />
<input name="password" type="password" />
<button type="submit">Submit</button>
</form>
);
}
npm install --save @felte/react
# Or, if you use yarn
yarn add @felte/react
To learn more about how to use @felte/react
to handle your forms, check the official documentation.
FAQs
An extensible form library for ReactJS
The npm package @felte/react receives a total of 1,079 weekly downloads. As such, @felte/react popularity was classified as popular.
We found that @felte/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.