Releases: MrBenJ/react-reforma
Patch v0.3.4
Added a few developer experience tools to make life easier:
- Wrote a test to make sure
<CheckboxField>
is runningthis.setState
in<Reforma>
- Added some flowtype annotations to
<Reforma>
- Added
prettier
,husky
, and relaxed aneslint
rule so everything plays nicely together - Upgraded Node to
v8.6.0
to allowhusky
andlint-staged
to work together nicely - Added in an.nvmrc
file fornvm
users to hack away 😄 - Prettified all the files! 💃💃💃💃💃💃
Dependency upgrade
Upgraded dependencies to latest version.
Maintenance
Fixed event stream vulnerability
FieldProps added in to Reforma
New feature! fieldProps
have been added to Reforma
Instead of doing classNames like this:
<Reforma>
<InputField className="field" name="first_name" />
<InputField className="field" name="middle_initial" />
<InputField className="field" name="last_name" />
</Reforma>
You can add a fieldProp
to automatically inject repeated properties into your field components like this:
<Reforma fieldProps={{ className: 'field' }}>
<InputField name="first_name" />
<InputField name="middle_initial" />
<InputField name="last_name" />
</Reforma>
Even if you add in a className prop on a specific element, Reforma will keep the className for that specific element
<Reforma fieldProps={{ className: 'field' }}>
<InputField className="highlight-red" name="first_name" />
<InputField name="middle_initial" />
<InputField name="last_name" />
</Reforma>
Happy coding!
Bugfix 0.2.1 patch
Fixed a bug where instance.values
wasn't returning the ValuesObject
Initial Release!
I'm happy to announce Reforma - a local state approach to Forms in React!
Have fun!
Reforma pre-release
Initial tag and start of a possibly beautiful and awesome thing :D. Yay!
It is late on a Friday night and I do not want to write release notes.
More coming later.