Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
A lightweight framework and utility for building powerful forms in React applications
Say hello to the best react form library you have ever used! Inform is an extensive, simple, and efficient solution for creating basic to complex forms in react. Out of the box you get the ability to grab and manipulate values, validate fields, and create custom inputs.
npm install --save informed
<Form id="intro-form">
<label htmlFor="intro-name">First name:</label>
<Text field="name" id="intro-name" />
<button type="submit">
Submit
</button>
</Form>
1.0.0 (June 12, 2018)
**
Note: this was the first release but i wanted to include changes from
react-form
so here they are:
**
formApi
was split into two parts formApi
( contains just functions ) formState
( contains just form state )defaultValues
Form prop is now called initialValues
onChange
Form prop only recieves the formState
. It used to retrieve the form Api as well.preventDefault
Form prop is now dontPreventDefault
getApi
Form prop just returns the formApi, not the state and the api.Form
component now renders the form
element internally. So you dont have to "hook it up" anymore!!**
Note: this was the first release but i wanted to include things that were removed from
react-form
so here they are:
**
NestedField
you can use Scope
instead but all it does is scope internal fields to scope="your-scope"
defaultValues
form prop is now called initialValues
pure
Form prop. Its not needed anymore due to the use of React.PureComponent
internally.react-form
. We determined this is something that the developer could achive on there own for now but we may look into adding this in the future.FAQs
A lightweight framework and utility for building powerful forms in React applications
The npm package informed receives a total of 11,118 weekly downloads. As such, informed popularity was classified as popular.
We found that informed 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.