Skip to content

Commit 0734926

Browse files
crutchcornautofix-ci[bot]
andauthoredMar 1, 2025··
fix: transform changes at runtime should now work (#1193)
* fix: transform changes at runtime should now work * ci: apply automated fixes and generate docs --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 541b37a commit 0734926

File tree

7 files changed

+57
-36
lines changed

7 files changed

+57
-36
lines changed
 

‎docs/reference/classes/formapi.md

+31-31
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: FormApi
77

88
# Class: FormApi\<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer, TSubmitMeta\>
99

10-
Defined in: [packages/form-core/src/FormApi.ts:650](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L650)
10+
Defined in: [packages/form-core/src/FormApi.ts:654](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L654)
1111

1212
A class representing the Form API. It handles the logic and interactions with the form state.
1313

@@ -45,7 +45,7 @@ However, if you need to create a new instance manually, you can do so by calling
4545
new FormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer, TSubmitMeta>(opts?): FormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer, TSubmitMeta>
4646
```
4747
48-
Defined in: [packages/form-core/src/FormApi.ts:735](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L735)
48+
Defined in: [packages/form-core/src/FormApi.ts:739](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L739)
4949
5050
Constructs a new `FormApi` instance with the given form options.
5151
@@ -67,7 +67,7 @@ Constructs a new `FormApi` instance with the given form options.
6767
baseStore: Store<BaseFormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer>>;
6868
```
6969
70-
Defined in: [packages/form-core/src/FormApi.ts:677](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L677)
70+
Defined in: [packages/form-core/src/FormApi.ts:681](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L681)
7171
7272
***
7373
@@ -77,7 +77,7 @@ Defined in: [packages/form-core/src/FormApi.ts:677](https://github.com/TanStack/
7777
fieldInfo: Record<unknown extends TFormData ? string : TFormData extends readonly any[] & IsTuple<TFormData> ? PrefixTupleAccessor<TFormData<TFormData>, AllowedIndexes<TFormData<TFormData>, never>, []> : TFormData extends any[] ? PrefixArrayAccessor<TFormData<TFormData>, [any]> : TFormData extends Date ? never : TFormData extends object ? PrefixObjectAccessor<TFormData<TFormData>, []> : TFormData extends string | number | bigint | boolean ? "" : never, FieldInfo<TFormData>>;
7878
```
7979
80-
Defined in: [packages/form-core/src/FormApi.ts:707](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L707)
80+
Defined in: [packages/form-core/src/FormApi.ts:711](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L711)
8181
8282
A record of field information for each field in the form.
8383
@@ -89,7 +89,7 @@ A record of field information for each field in the form.
8989
fieldMetaDerived: Derived<Record<unknown extends TFormData ? string : TFormData extends readonly any[] & IsTuple<TFormData> ? PrefixTupleAccessor<TFormData<TFormData>, AllowedIndexes<TFormData<TFormData>, never>, []> : TFormData extends any[] ? PrefixArrayAccessor<TFormData<TFormData>, [any]> : TFormData extends Date ? never : TFormData extends object ? PrefixObjectAccessor<TFormData<TFormData>, []> : TFormData extends string | number | bigint | boolean ? "" : never, AnyFieldMeta>>;
9090
```
9191
92-
Defined in: [packages/form-core/src/FormApi.ts:690](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L690)
92+
Defined in: [packages/form-core/src/FormApi.ts:694](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L694)
9393
9494
***
9595
@@ -99,7 +99,7 @@ Defined in: [packages/form-core/src/FormApi.ts:690](https://github.com/TanStack/
9999
options: FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer, TSubmitMeta> = {};
100100
```
101101
102-
Defined in: [packages/form-core/src/FormApi.ts:665](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L665)
102+
Defined in: [packages/form-core/src/FormApi.ts:669](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L669)
103103
104104
The options for the form.
105105
@@ -111,7 +111,7 @@ The options for the form.
111111
store: Derived<FormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer>>;
112112
```
113113
114-
Defined in: [packages/form-core/src/FormApi.ts:691](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L691)
114+
Defined in: [packages/form-core/src/FormApi.ts:695](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L695)
115115
116116
## Accessors
117117
@@ -123,7 +123,7 @@ Defined in: [packages/form-core/src/FormApi.ts:691](https://github.com/TanStack/
123123
get state(): FormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer>
124124
```
125125
126-
Defined in: [packages/form-core/src/FormApi.ts:709](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L709)
126+
Defined in: [packages/form-core/src/FormApi.ts:713](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L713)
127127
128128
##### Returns
129129
@@ -137,7 +137,7 @@ Defined in: [packages/form-core/src/FormApi.ts:709](https://github.com/TanStack/
137137
deleteField<TField>(field): void
138138
```
139139
140-
Defined in: [packages/form-core/src/FormApi.ts:1734](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1734)
140+
Defined in: [packages/form-core/src/FormApi.ts:1747](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1747)
141141
142142
#### Type Parameters
143143
@@ -161,7 +161,7 @@ Defined in: [packages/form-core/src/FormApi.ts:1734](https://github.com/TanStack
161161
getAllErrors(): object
162162
```
163163
164-
Defined in: [packages/form-core/src/FormApi.ts:1945](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1945)
164+
Defined in: [packages/form-core/src/FormApi.ts:1958](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1958)
165165
166166
Returns form and field level errors
167167
@@ -212,7 +212,7 @@ errors: (
212212
getFieldInfo<TField>(field): FieldInfo<TFormData>
213213
```
214214
215-
Defined in: [packages/form-core/src/FormApi.ts:1643](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1643)
215+
Defined in: [packages/form-core/src/FormApi.ts:1656](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1656)
216216
217217
Gets the field info of the specified field.
218218
@@ -238,7 +238,7 @@ Gets the field info of the specified field.
238238
getFieldMeta<TField>(field): undefined | AnyFieldMeta
239239
```
240240
241-
Defined in: [packages/form-core/src/FormApi.ts:1634](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1634)
241+
Defined in: [packages/form-core/src/FormApi.ts:1647](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1647)
242242
243243
Gets the metadata of the specified field.
244244
@@ -264,7 +264,7 @@ Gets the metadata of the specified field.
264264
getFieldValue<TField>(field): DeepValue<TFormData, TField>
265265
```
266266
267-
Defined in: [packages/form-core/src/FormApi.ts:1627](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1627)
267+
Defined in: [packages/form-core/src/FormApi.ts:1640](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1640)
268268
269269
Gets the value of the specified field.
270270
@@ -292,7 +292,7 @@ Gets the value of the specified field.
292292
handleSubmit(): Promise<void>
293293
```
294294
295-
Defined in: [packages/form-core/src/FormApi.ts:1552](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1552)
295+
Defined in: [packages/form-core/src/FormApi.ts:1565](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1565)
296296
297297
Handles the form submission, performs validation, and calls the appropriate onSubmit or onInvalidSubmit callbacks.
298298
@@ -306,7 +306,7 @@ Handles the form submission, performs validation, and calls the appropriate onSu
306306
handleSubmit(submitMeta): Promise<void>
307307
```
308308
309-
Defined in: [packages/form-core/src/FormApi.ts:1553](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1553)
309+
Defined in: [packages/form-core/src/FormApi.ts:1566](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1566)
310310
311311
Handles the form submission, performs validation, and calls the appropriate onSubmit or onInvalidSubmit callbacks.
312312
@@ -332,7 +332,7 @@ insertFieldValue<TField>(
332332
opts?): Promise<void>
333333
```
334334
335-
Defined in: [packages/form-core/src/FormApi.ts:1763](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1763)
335+
Defined in: [packages/form-core/src/FormApi.ts:1776](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1776)
336336
337337
#### Type Parameters
338338
@@ -368,7 +368,7 @@ Defined in: [packages/form-core/src/FormApi.ts:1763](https://github.com/TanStack
368368
mount(): () => void
369369
```
370370
371-
Defined in: [packages/form-core/src/FormApi.ts:1036](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1036)
371+
Defined in: [packages/form-core/src/FormApi.ts:1040](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1040)
372372
373373
#### Returns
374374
@@ -390,7 +390,7 @@ moveFieldValues<TField>(
390390
opts?): void
391391
```
392392
393-
Defined in: [packages/form-core/src/FormApi.ts:1892](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1892)
393+
Defined in: [packages/form-core/src/FormApi.ts:1905](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1905)
394394
395395
Moves the value at the first specified index to the second specified index within an array field.
396396
@@ -431,7 +431,7 @@ pushFieldValue<TField>(
431431
opts?): void
432432
```
433433
434-
Defined in: [packages/form-core/src/FormApi.ts:1748](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1748)
434+
Defined in: [packages/form-core/src/FormApi.ts:1761](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1761)
435435
436436
Pushes a value into an array field.
437437
@@ -468,7 +468,7 @@ removeFieldValue<TField>(
468468
opts?): Promise<void>
469469
```
470470
471-
Defined in: [packages/form-core/src/FormApi.ts:1821](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1821)
471+
Defined in: [packages/form-core/src/FormApi.ts:1834](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1834)
472472
473473
Removes a value from an array field at the specified index.
474474
@@ -506,7 +506,7 @@ replaceFieldValue<TField>(
506506
opts?): Promise<void>
507507
```
508508
509-
Defined in: [packages/form-core/src/FormApi.ts:1795](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1795)
509+
Defined in: [packages/form-core/src/FormApi.ts:1808](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1808)
510510
511511
Replaces a value into an array field at the specified index.
512512
@@ -544,7 +544,7 @@ Replaces a value into an array field at the specified index.
544544
reset(values?, opts?): void
545545
```
546546
547-
Defined in: [packages/form-core/src/FormApi.ts:1112](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1112)
547+
Defined in: [packages/form-core/src/FormApi.ts:1125](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1125)
548548
549549
Resets the form state to the default values.
550550
If values are provided, the form will be reset to those values instead and the default values will be updated.
@@ -577,7 +577,7 @@ Optional options to control the reset behavior.
577577
resetFieldMeta<TField>(fieldMeta): Record<TField, AnyFieldMeta>
578578
```
579579
580-
Defined in: [packages/form-core/src/FormApi.ts:1680](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1680)
580+
Defined in: [packages/form-core/src/FormApi.ts:1693](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1693)
581581
582582
#### Type Parameters
583583
@@ -601,7 +601,7 @@ Defined in: [packages/form-core/src/FormApi.ts:1680](https://github.com/TanStack
601601
setErrorMap(errorMap): void
602602
```
603603
604-
Defined in: [packages/form-core/src/FormApi.ts:1919](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1919)
604+
Defined in: [packages/form-core/src/FormApi.ts:1932](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1932)
605605
606606
Updates the form's errorMap
607607
@@ -623,7 +623,7 @@ Updates the form's errorMap
623623
setFieldMeta<TField>(field, updater): void
624624
```
625625
626-
Defined in: [packages/form-core/src/FormApi.ts:1662](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1662)
626+
Defined in: [packages/form-core/src/FormApi.ts:1675](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1675)
627627
628628
Updates the metadata of the specified field.
629629
@@ -656,7 +656,7 @@ setFieldValue<TField>(
656656
opts?): void
657657
```
658658
659-
Defined in: [packages/form-core/src/FormApi.ts:1704](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1704)
659+
Defined in: [packages/form-core/src/FormApi.ts:1717](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1717)
660660
661661
Sets the value of the specified field and optionally updates the touched state.
662662
@@ -694,7 +694,7 @@ swapFieldValues<TField>(
694694
opts?): void
695695
```
696696
697-
Defined in: [packages/form-core/src/FormApi.ts:1863](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1863)
697+
Defined in: [packages/form-core/src/FormApi.ts:1876](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1876)
698698
699699
Swaps the values at the specified indices within an array field.
700700
@@ -732,7 +732,7 @@ Swaps the values at the specified indices within an array field.
732732
update(options?): void
733733
```
734734
735-
Defined in: [packages/form-core/src/FormApi.ts:1053](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1053)
735+
Defined in: [packages/form-core/src/FormApi.ts:1057](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1057)
736736
737737
Updates the form options and form state.
738738
@@ -754,7 +754,7 @@ Updates the form options and form state.
754754
validateAllFields(cause): Promise<unknown[]>
755755
```
756756
757-
Defined in: [packages/form-core/src/FormApi.ts:1138](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1138)
757+
Defined in: [packages/form-core/src/FormApi.ts:1151](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1151)
758758
759759
Validates all fields using the correct handlers for a given validation cause.
760760
@@ -779,7 +779,7 @@ validateArrayFieldsStartingFrom<TField>(
779779
cause): Promise<unknown[]>
780780
```
781781
782-
Defined in: [packages/form-core/src/FormApi.ts:1168](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1168)
782+
Defined in: [packages/form-core/src/FormApi.ts:1181](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1181)
783783
784784
Validates the children of a specified array in the form starting from a given index until the end using the correct handlers for a given validation type.
785785
@@ -813,7 +813,7 @@ Validates the children of a specified array in the form starting from a given in
813813
validateField<TField>(field, cause): unknown[] | Promise<unknown[]>
814814
```
815815
816-
Defined in: [packages/form-core/src/FormApi.ts:1207](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1207)
816+
Defined in: [packages/form-core/src/FormApi.ts:1220](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1220)
817817
818818
Validates a specified field in the form using the correct handlers for a given validation type.
819819

‎docs/reference/type-aliases/anyformapi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ title: AnyFormApi
1111
type AnyFormApi = FormApi<any, any, any, any, any, any, any, any, any, any>;
1212
```
1313

14-
Defined in: [packages/form-core/src/FormApi.ts:630](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L630)
14+
Defined in: [packages/form-core/src/FormApi.ts:634](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L634)
1515

1616
A type representing the Form API with all generics set to `any` for convenience.

‎docs/reference/type-aliases/anyformstate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ title: AnyFormState
1111
type AnyFormState = FormState<any, any, any, any, any, any, any, any, any>;
1212
```
1313

14-
Defined in: [packages/form-core/src/FormApi.ts:560](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L560)
14+
Defined in: [packages/form-core/src/FormApi.ts:564](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L564)

‎docs/reference/type-aliases/baseformstate.md

+8
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ An object representing the current state of the form.
3737

3838
## Type declaration
3939

40+
### \_force\_re\_eval?
41+
42+
```ts
43+
optional _force_re_eval: boolean;
44+
```
45+
46+
@private, used to force a re-evaluation of the form state when options change
47+
4048
### errorMap
4149

4250
```ts

‎docs/reference/type-aliases/derivedformstate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: DerivedFormState
1111
type DerivedFormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer> = object;
1212
```
1313

14-
Defined in: [packages/form-core/src/FormApi.ts:457](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L457)
14+
Defined in: [packages/form-core/src/FormApi.ts:461](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L461)
1515

1616
## Type Parameters
1717

‎docs/reference/type-aliases/formstate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: FormState
1111
type FormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer> = BaseFormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer> & DerivedFormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer>;
1212
```
1313

14-
Defined in: [packages/form-core/src/FormApi.ts:527](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L527)
14+
Defined in: [packages/form-core/src/FormApi.ts:531](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L531)
1515

1616
## Type Parameters
1717

‎packages/form-core/src/FormApi.ts

+14-1
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,10 @@ export type BaseFormState<
452452
* A counter for tracking the number of submission attempts.
453453
*/
454454
submissionAttempts: number
455+
/**
456+
* @private, used to force a re-evaluation of the form state when options change
457+
*/
458+
_force_re_eval?: boolean
455459
}
456460

457461
export type DerivedFormState<
@@ -1071,6 +1075,11 @@ export class FormApi<
10711075
// Options need to be updated first so that when the store is updated, the state is correct for the derived state
10721076
this.options = options
10731077

1078+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
1079+
const shouldUpdateReeval = !!options.transform?.deps?.some(
1080+
(val, i) => val !== this.prevTransformArray[i],
1081+
)
1082+
10741083
const shouldUpdateValues =
10751084
options.defaultValues &&
10761085
!shallow(options.defaultValues, oldOptions.defaultValues) &&
@@ -1080,7 +1089,7 @@ export class FormApi<
10801089
!shallow(options.defaultState, oldOptions.defaultState) &&
10811090
!this.state.isTouched
10821091

1083-
if (!shouldUpdateValues && !shouldUpdateState) return
1092+
if (!shouldUpdateValues && !shouldUpdateState && !shouldUpdateReeval) return
10841093

10851094
batch(() => {
10861095
this.baseStore.setState(() =>
@@ -1096,6 +1105,10 @@ export class FormApi<
10961105
values: options.defaultValues,
10971106
}
10981107
: {},
1108+
1109+
shouldUpdateReeval
1110+
? { _force_re_eval: !this.state._force_re_eval }
1111+
: {},
10991112
),
11001113
),
11011114
)

0 commit comments

Comments
 (0)
Please sign in to comment.