You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PreloadedState was previously working in that top levels keys were optional:
/** * Recursively makes combined state objects partial. Only combined state _root * objects_ (i.e. the generated higher level object with keys mapping to * individual reducers) are partial. */
After upgrading 4.1.2 -> 4.2.0 however, the store keys are no longer optional:
PreloadedState was previously working in that top levels keys were optional:
After upgrading 4.1.2 -> 4.2.0 however, the store keys are no longer optional:
PreloadedState<RootState>
now requires that all reducer keys are present.Previously you could pass in just the parts of the store you want to be non-default:
Now such code results in a TS error as all reducer keys are expected:
The text was updated successfully, but these errors were encountered: