Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.