Open
Description
I have problem with getting into plain data object via state.get() method.
Here's a small getter to have value out of hookstate:
getCyclicalActivityFormikDataForPUT() {
return state.get({ noproxy: true, stealth: true })
.cyclicalActivityFormikDataForPUT;
},
I also tried:
getCyclicalActivityFormikDataForPUT() {
return state.cyclicalActivityFormikDataForPUT.get({
noproxy: true,
stealth: true,
});
}
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.