Skip to content

KonstantinKo/rform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 or state.authToken is defined, a hidden field providing it will be generated
  • if a method other than GET or POST is provided, a hidden _method field will be generated
  • if you are using i18n-js and/or provide a global I18n object, rform will search it for translations

License

MIT

About

React/Redux(/Rails) Forms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published