Skip to content

Commit dd92bc6

Browse files
authored
Add a step about Error management (#756)
1 parent b27d119 commit dd92bc6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/migration/redux-form.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,12 @@ Now you can just export your component. No HOC decorator needed! [Why?](../faq#w
177177
+export default MyForm
178178
```
179179

180-
### Step 7: Define your `renderField` functions inline (if you want)
180+
### Step 7: Error management
181+
182+
No more `SubmissionError` to throw, error management is made with the return value.
183+
Have a look here to know more: https://final-form.org/docs/react-final-form/types/FormProps#onsubmit
184+
185+
### Step 8: Define your `renderField` functions inline (if you want)
181186

182187
With Redux Form, it was common to have to do something like this:
183188

0 commit comments

Comments
 (0)