Skip to content

Commit 58991cf

Browse files
- More doc improvements
1 parent 2a261a3 commit 58991cf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/docs/docs/migration-guides/v6.x upgrade guide.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ All PR and branch builds are running against Node 20 and 22.
4949
### React version
5050

5151
RJSF is no longer actively supporting React version < 18.x.
52-
React 18 is officially supported on all the themes where the underlying theme library also supports React 18.
52+
React 18 is officially supported on all the themes.
5353

5454
React 19 support is expected before the end of beta (although several developers have already upgraded with no problems).
5555

@@ -131,8 +131,8 @@ const option = getFirstMatchingOption(validator, formData, options, schema);
131131

132132
#### SchemaUtilsType.getMatchingOption()
133133

134-
The `getMatchingOption()` function in the `SchemaUtilsType` was removed. Use the `getFirstMatchingOption()` on the type
135-
instead. I.e.:
134+
The `getMatchingOption()` function in the `SchemaUtilsType` was removed. Use the `getFirstMatchingOption()` funciton on
135+
the type instead. I.e.:
136136

137137
```ts
138138
import { createSchemaUtils, RJSFSchema } from '@rjsf/utils';
@@ -179,8 +179,8 @@ const merged = validationDataMerge(validationData, additionalErrorSchema);
179179

180180
#### SchemaUtilsType.mergeValidationData()
181181

182-
The `mergeValidationData()` function in the `SchemaUtilsType` was removed. Use the `validationDataMerge()` function
183-
instead. I.e.:
182+
The `mergeValidationData()` function in the `SchemaUtilsType` was removed. Use the standalone `validationDataMerge()`
183+
function instead. I.e.:
184184

185185
```ts
186186
import { toErrorList } from '@rjsf/utils';
@@ -203,8 +203,8 @@ const merged = validationDataMerge(validationData, additionalErrorSchema);
203203

204204
#### ValidatorType.toErrorList()
205205

206-
The `toErrorList()` function on the `ValidatorType` interface was removed. Use the `toErrorList()` function from
207-
`@rjsf/utils` instead. I.e.:
206+
The `toErrorList()` function on the `ValidatorType` interface was removed. Use the standalone `toErrorList()` function
207+
from `@rjsf/utils` instead. I.e.:
208208

209209
```ts
210210
import { validationDataMerge, ErrorSchema, RJSFValidationError, toErrorList } from '@rjsf/utils';

0 commit comments

Comments
 (0)