Skip to content

Latest commit

History

History
23 lines (16 loc) 路 702 Bytes

installation.md

File metadata and controls

23 lines (16 loc) 路 702 Bytes

Installation

Installing and using React Form is simple. Start by installing the react-form dependency:

$ yarn add react-form
# or
$ npm i react-form --save

Once it is installed, you can import and use react-form's hooks and utilities:

import { useForm, useField, splitFormProps } from 'react-form'

NOTE: React Form does not transpile asynchronous functions or polyfill promises. If you need to target any browsers that don't support async functions or promises, you will need to transpile them with babel and/or a promise polyfill.

To learn how to use React Form, you should: