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
The problem:
In react there is this bit of code: onClick={this.props.goBack}
When the user click on this button, it calls react-router-redux's goBack action
goBack fired with arguments of ReactProxy, and ReactEvent
react-router-redux returns an action with payload of the above arguments
redux-immutable-state-invariant stringify the whole react proxy and event tree.
It takes over a minute for that stringify to finish
Arguably the component author should've written: onClick={() => this.props.goBack()}
However this is not a good practice of having another level of function just to work around the problem
If I understand correctly, the stringify here is only for displaying an error message? I reckon it should not try so hard to strigify everything.
The text was updated successfully, but these errors were encountered:
The cause of the problem is at:
redux-immutable-state-invariant/src/index.js
Line 54 in e885777
The problem:
In react there is this bit of code:
onClick={this.props.goBack}
When the user click on this button, it calls react-router-redux's goBack action
In React router redux middleware:
The following happened:
It takes over a minute for that stringify to finish
Arguably the component author should've written:
onClick={() => this.props.goBack()}
However this is not a good practice of having another level of function just to work around the problem
If I understand correctly, the stringify here is only for displaying an error message? I reckon it should not try so hard to strigify everything.
The text was updated successfully, but these errors were encountered: