Skip to content

Commit a1e97e4

Browse files
committed
Added link to hooks-based error component example
1 parent b011b2c commit a1e97e4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,11 +316,16 @@ Yet, if some part of form state is needed inside of it, the
316316
[`FormSpy`](#formspy--reactcomponenttypeformspyprops) component can be used to
317317
attain it.
318318

319-
### [Independent Error Component](https://codesandbox.io/s/xoo3xq654p)
319+
### [Independent Error Component (with Render Props)](https://codesandbox.io/s/xoo3xq654p)
320320

321321
Demonstrates how to make an independent Error component to subscribe to and
322322
display the error for any form field.
323323

324+
### [Independent Error Component (with Hooks)](https://codesandbox.io/s/react-final-form-independent-error-component-with-hooks-y1grn)
325+
326+
Demonstrates how to make an independent Error component, using Hooks, to subscribe to and
327+
display the error for any form field.
328+
324329
### [Loading and Initializing Values](https://codesandbox.io/s/91w9ro3x9o)
325330

326331
Demonstrates how a form can be initialized, after fetching data, by passing in

0 commit comments

Comments
 (0)