Skip to content

Commit

Permalink
Update <LocalForm> docs
Browse files Browse the repository at this point in the history
Addresses davidkpiano#774.
  • Loading branch information
Ralph Sto. Domingo authored and peterox committed Oct 26, 2017
1 parent 42ed119 commit 7e2b03f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/guides/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ The `<LocalForm>` component takes all the [props from the `<Form>` component](..

### Notes
- `redux` and `react-redux` _are_ still required as peer dependencies. This just allows you to not have to set up the boilerplate; e.g., the store and reducers.
- `<LocalForm>` does not accept partial models. Instead of `model=".name"`, you can use `model="local.name"`.
- As with any React component, whenever the `<LocalForm>` is unmounted, the component's internal state is _gone_. This can be desirable (or undesirable) depending on your use case, so take this into consideration.
- Just like with `<Form>`, the props `onSubmit` and `onSubmitFailed` will work as expected.

Expand Down

0 comments on commit 7e2b03f

Please sign in to comment.