# react-jayform

> rails-like forms with form objects for react

Latest version **0.1.0** (published 2016-08-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-jayform
pnpm add react-jayform
yarn add react-jayform
bun add react-jayform
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2016-08-19 |
| First published | 2016-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Konstantin Koss |
| Maintainers | konstantinkoss |
| Keywords | react-component, react |

## Links

- npm: https://www.npmjs.com/package/react-jayform
- Repository: https://github.com/KonstantinKo/react-jayform
- Issues: https://github.com/KonstantinKo/react-jayform/issues
- npm.io page: https://npm.io/package/react-jayform

## Dependencies (1)

- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.6.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2016-08-19

## README

# React Forms and Form Objects

- 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, but you don't have to

## Installlation

`npm install react-jayform`

## Usage

`import jayform from 'react-jayform'`

## Features for Ruby on Rails Interaction

- if an `authenticity_token` is given or `state.authenticity_token` 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, react-jayform
  will search it for translations

## License

MIT

---
_Source: https://npm.io/package/react-jayform · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
