
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-formera
Advanced tools
An interactive and flexible collection of React form components and hooks, offering easy-to-use and extendable form management for modern web applications.
Former is an interactive and flexible collection of React form components and hooks, designed to make form handling in React applications effortless and efficient. With its easy-to-use API and extendable structure, Former simplifies the process of creating, validating, and managing forms in modern web applications.
npm install react-former
or
yarn add react-former
Here is a simple example of how to use the Former component:
import React from 'react';
import { Former, Field } from 'react-former';
const MyForm = () => {
const handleSubmit = (formData) => {
console.log(formData);
};
return (
<Former onSubmit={handleSubmit}>
<Field name="username" type="text" placeholder="Username" />
<Field name="password" type="password" placeholder="Password" />
<button type="submit">Submit</button>
</Former>
);
};
export default MyForm;
<Former>Props:
onSubmit: Function - Callback function on form submission.initialData: Object - Initial data for form fields.<Field>Props:
name: String - Name of the field.type: String - Type of the field (text, password, email, etc.).Contributions are always welcome! Please read the contributing guide to learn how you can help.
Distributed under the MIT License. See LICENSE for more information.
FAQs
An interactive and flexible collection of React form components and hooks, offering easy-to-use and extendable form management for modern web applications.
We found that react-formera 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.