bug report
In the below sandbox you can see that I have a nested component which is wrapped with formValuesSelector and formValues. I have set a timeout that will change the initialvalues after 1 second. The value is properly updated with formValuesSelector but formValues does not get updated. This error only happens when passing a prop down to the form that is also changing.
https://codesandbox.io/s/q31q35o1rj
That formValues will get the current value of the form
I am also hitting the behavior described above and it is very confusing and a HUGE gotcha! There should be no reason for these two methods to perform so differently.
formValues() is broken and needs to be fixed!
Most helpful comment
I am also hitting the behavior described above and it is very confusing and a HUGE gotcha! There should be no reason for these two methods to perform so differently.
formValues()is broken and needs to be fixed!