Performance when adding many subscriptions at once #2357
Unanswered
dorbaruchh
asked this question in
Q&A
Replies: 1 comment 26 replies
-
Can you clarify what you mean by "subscriptions"? The only "subscriptions" in Redux Toolkit are when components use a Are you talking about React-Redux and store subscriptions instead? Or is this indeed RTKQ? Can you show a CodeSandbox or a repo of what you're trying to do? |
Beta Was this translation helpful? Give feedback.
26 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm working on a page that includes a table and a filtering column. The table is showing 50 rows.
Right now when a filter is modified and the table data changes, there is a noticeable lag.
It seems that the performance issue is coming from a column that renders a component that is subscribing to about 3 different endpoints because when I remove this specific column the filtering performance improves significantly.
The component doesn't have other logic or expensive computation that might explain the performance issue.
I was wondering if removing and then adding relatively many subscriptions at once (at most 50 subscription removed and 50 added) is expected to cause some lag, or is this explanation unlikely and I should look elsewhere?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions