
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
react-final-form-listeners
Advanced tools
A collection of components to listen to 🏁 React Final Form fields
🏁 React Final Form Listeners is a collection of useful components for listening to fields in a 🏁 React Final Form.
npm install --save react-final-form-listeners react-final-form final-form
or
yarn add react-final-form-listeners react-final-form final-form
import { Form, Field } from 'react-final-form'
import { OnChange } from 'react-final-form-listeners'
const MyForm = () => (
<Form
onSubmit={onSubmit}
render={({ handleSubmit, pristine, invalid }) => (
<form onSubmit={handleSubmit}>
<div>
<label>
<Field name="foo" component="input" type="checkbox" /> Turn foo on?
</label>
<OnChange name="foo">
{(value, previous) => {
// do something
}}
</OnChange>
</div>
...
</form>
)}
/>
)
The following can be imported from react-final-form-listeners.
ExternallyChangedRenders is render prop with a boolean flag when the specified field was last updated externally (changed while not active).
name : StringThe name of the field to listen to.
children: (externallyChanged: boolean) => React.NodeA render prop given the boolean flag.
OnChangeCalls its children callback whenever the specified field changes. It renders nothing.
name : StringThe name of the field to listen to.
children: (value: any, previous: any) => voidA function that will be called whenever the specified field is changed. It is passed the new value and the previous value.
OnFocusCalls its children callback whenever the specified field becomes active. It renders nothing.
name : StringThe name of the field to listen to.
children: () => voidA function that will be called whenever the specified field is changed. It is passed the new value and the previous value.
OnBlurCalls its children callback whenever the specified field is blurred. It renders nothing.
name : StringThe name of the field to listen to.
children: () => voidA function that will be called whenever the specified field is blurred.
FAQs
A collection of components to listen to 🏁 React Final Form fields
The npm package react-final-form-listeners receives a total of 18,888 weekly downloads. As such, react-final-form-listeners popularity was classified as popular.
We found that react-final-form-listeners demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.