
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
use-form-react
Advanced tools
Form hook made blazing fast and easy.
The most unopinionated form hook.
npm i --save use-form-react
# or
yarn add use-form-react

check basic example
import useForm from 'use-form-react'
const Form = () => {
const { onSubmit, onChange, inputs } = useForm('sampleForm', {
initialValues: { 'name': '' },
callback: (inputs) => console.log(inputs)
}
)
return (
<div>
<div>Hello {inputs.name}</div>
<form onSubmit={onSubmit}>
<input name="name" value={inputs.name} onChange={onChange} />
<button type="submit">Sign in</button>
</form>
</div>
);
}
check advance example
import React, { useEffect } from 'react';
import useForm from 'use-form-react'
const SignUp = () => {
const options = {
initialValues: {
'email': '',
'password1': '',
'password2': ''
},
callback: () => console.log('it works'),
debug: true
}
const {
onSubmit, onChange, inputs, dirty, submitting, reset
} = useForm('myAdvanceFormName', option)
useEffect(() => {
if(inputs.password1!==inputs.password2) console.log('password not matched')
});
return (
<form onSubmit={onSubmit}>
<input
type='email'
name="email"
value={inputs.email}
placeholder="Email"
required
onChange={onChange}
/>
<input
type='password'
name="password1"
value={inputs.password1}
placeholder="Password"
onChange={onChange}
required
/>
<input
type='password'
name="password2"
value={inputs.password2}
placeholder="Confirm password"
onChange={onChange}
required
/>
<button disabled={!dirty || error || submitting} type="submit">Sign up</button>
</form>
);
}
MIT
FAQs
The most unopinionated react form hook.
We found that use-form-react 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.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.