rform
v0.3.17
Published
React/Redux form helpers optimized for use with Ruby on Rails
Downloads
13
Readme
rform: React/Redux Forms - optimized for a Ruby on Rails backend
- inspired by Ruby on Rails forms (FormHelper/SimpleForm) and form objects (reform)
- works well with a rails backend, but it's not necessary
- uses redux for state updates
Installlation
npm install --save rform
Usage
import { YourDesiredComponent } from 'rform'
Features for Ruby on Rails Interaction
- if an
authToken
is given orstate.authToken
is defined, a hidden field providing it will be generated - if a method other than
GET
orPOST
is provided, a hidden_method
field will be generated - if you are using
i18n-js
and/or provide a globalI18n
object, rform will search it for translations
License
MIT