Skip to content

Commit 5c9b371

Browse files
authored
docs: minor fix (#284)
1 parent 7d6a589 commit 5c9b371

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

docs/complex-structures.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ Conform support both nested object and array by leveraging a naming convention o
99
- [Naming convention](#naming-convention)
1010
- [Nested Object](#nested-object)
1111
- [Array](#array)
12-
- [Nested List](#nested-list)
12+
- [Nested Array](#nested-array)
1313

1414
<!-- /aside -->
1515

1616
## Naming Convention
1717

18-
**Conform** uses the `object.property` and `array[index]` syntax to denote data structure. These notations could be combined for nest list as well. e.g. `tasks[0].content`.
18+
**Conform** uses the `object.property` and `array[index]` syntax to denote data structure. These notations could be combined for nested array as well. e.g. `tasks[0].content`.
1919

2020
The form data should be parsed using the Conform [parse](/packages/conform-zod/README.md#parse) helper to resolve each data path and reconstruct the data structure accordingly.
2121

@@ -112,9 +112,9 @@ function Example() {
112112

113113
For information about modifying list (e.g. insert / remove / reorder), see the [list intent](/docs/intent-button.md#list-intent) section.
114114

115-
## Nested List
115+
## Nested Array
116116

117-
You can also combine both [useFieldset](/packages/conform-react/README.md#usefieldset) and [useFieldList](/packages/conform-react/README.md#usefieldlist) hook for nested list.
117+
You can also combine both [useFieldset](/packages/conform-react/README.md#usefieldset) and [useFieldList](/packages/conform-react/README.md#usefieldlist) hook for nested array.
118118

119119
```tsx
120120
import type { FieldConfig } from '@conform-to/react';

examples/react-router/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Please fork the sandbox if it is stuck in the _Initializing Sandbox Container_ stage
44
5-
This example demonstrates some of the features of Conform including **manual validation**, **nested list**, and **async validation with zod** using React Router
5+
This example demonstrates some of the features of Conform including **client validation**, **nested list**, and **async validation with zod** using React Router
66

77
<!-- sandbox src="/examples/react-router?module=/src/login.tsx" -->
88

examples/react-router/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ function Example() {
2626

2727
<p>
2828
This example demonstrates some of the features of Conform including{' '}
29-
<strong>constraint validation</strong>, <strong>nested list</strong>,
30-
and <strong>async validation with zod</strong>.
29+
<strong>client validation</strong>, <strong>nested list</strong>, and{' '}
30+
<strong>async validation with zod</strong>.
3131
</p>
3232

3333
<ul>

examples/remix/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Please fork the sandbox if it is stuck in the _Initializing Sandbox Container_ stage
44
5-
This example demonstrates some of the features of Conform including **manual validation**, **nested list**, and **async validation with zod** using Remix.
5+
This example demonstrates some of the features of Conform including **client validation**, **nested list**, and **async validation with zod** using Remix.
66

77
<!-- sandbox src="/examples/remix?module=/app/root.tsx" -->
88

examples/remix/app/root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default function App() {
3535

3636
<p>
3737
This example demonstrates some of the features of Conform including{' '}
38-
<strong>manual validation</strong>, <strong>nested list</strong>,
38+
<strong>client validation</strong>, <strong>nested list</strong>,
3939
and <strong>async validation with zod</strong>.
4040
</p>
4141

0 commit comments

Comments
 (0)