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
You are doing all right. You get the object but it's type is readonly, which is correct. You are not allowed to change this object. There is a discussion around if ImmutableObject is useful. As of today just to cast to as yourtype.
avkonst
added
the
feedback
Positive customer's feedback which does not fall into other categories
label
Oct 16, 2023
I have problem with getting into plain data object via state.get() method.
Here's a small getter to have value out of hookstate:
I also tried:
but my output is still:
ImmutableObject<ImmutableObject<.....someType>>
and should be just:
<.....someType>
What am I doing wrong? help please.
I just need plain data object to copy into Formik as initial state.
The text was updated successfully, but these errors were encountered: