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
In my case one of the props is immutable recursive structure which makes this check run in circles.
To handle this on form level we have immutableProps:
immutableProps : Array<String> [optional]
Prop names that only require strict-equals, not deep equals, to determine shouldComponentUpdate. Useful for performance and compatibility with 3rd party immutable libraries. Defaults to [].
But somehow they are not applied on Field level.
Thank you!
The text was updated successfully, but these errors were encountered:
Can we please start the ball rolling on this one, at least the discussion.
In the linked pull request (#3849) I've added immutableProps option to Field component, test that everything fails without it and updated documentation to list new option.
What else should be done?
Hello,
I've encountered an issue with deepEqual inside of ConnectedField shouldComponentUpdate call.
Code in question:
In my case one of the props is immutable recursive structure which makes this check run in circles.
To handle this on form level we have
immutableProps
:But somehow they are not applied on Field level.
Thank you!
The text was updated successfully, but these errors were encountered: