I have a situation as follows. I have a class, say MyData.
I'd like to use this with React final form as follows:
<Form
initialValues={myData} // instance of MyData
render={({ values }) => /* values should be of type MyData */}
/>
Is this possible, without constructing an instance of MyData on every render? (That would not be ideal, as we're caching some expensive computations.)