Serializing form values

I display a form inside a tabs component and would like to be able to keep the state when navigating back and forth between different tabs.

Is there a way to get the value of TextFields in the componentWillUnmount without making every single form field controlled? Is there a function to retrieve the values of the form as if it would be submitted right now?

I’ve had the same problem and resorted to implementing my own tab switcher component that just hides unselected pages instead of fully unmounting them.

While this might be a viable solution for the current issue at hand (thank you, I’ll take a look at it but am a bit hesitant since I already rewrite multiple other pages to work with the tab component today), I can also imagine other use cases in which it might be necessary to query the data.