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
recursive call to trackProperties (line 57) is not passing down the checkedObjects argument.
It means all the circularity check you do in your code is totally bypass.
That's why immutable is not working with circular references
The text was updated successfully, but these errors were encountered:
It's low on the priority list atm - all of us maintainers have been busy with other things the last few weeks. We'll try to take a look when we get a chance!
In the meantime, you could disable the default version of the immutability middleware, paste the modified version into your app, and add that to the store instead.
aryaemami59
changed the title
trackProperties method in immutableStateInvariantMiddleware.ts is not correctly managing the circularitytrackProperties method in immutableStateInvariantMiddleware.ts is not correctly managing the circularity
Feb 26, 2025
https://github.com/reduxjs/redux-toolkit/blob/master/packages/toolkit/src/immutableStateInvariantMiddleware.ts#L57
recursive call to trackProperties (line 57) is not passing down the checkedObjects argument.
It means all the circularity check you do in your code is totally bypass.
That's why immutable is not working with circular references
The text was updated successfully, but these errors were encountered: