-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RTKQ]: copyWithStructuralSharing peformance issue #1896
Comments
Already 3 seconds for JSON.parse? At the moment, there is no way to skip it, but I could see us adding a |
Hey @zoubingwu. @msutkowski has implemented an option for this over in #1954 - could you please try out the CI build and report back if it solves your problem? |
@phryneas Yep, just tried |
I was testing with mock data, some request returns an array of thousands of items, and it freezes for like 10+ second so I found this:
I know with that amount of data it should be done with paginations or other techniques but this happens in real world.
The
JSON.parse
is fairly quick, and most of the time it was executingcopyWithStructuralSharing
, so just wondering what it does and is it possible to make it better?The text was updated successfully, but these errors were encountered: