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
we are getting a quite significant performance degradation in our virtual scrolled component with a lot of Antd components inside. Below are screeenshots of FF profiler with cssinjs (antd v5) and without (antd v4). It seems like the bottleneck here is the useToken -> useCacheToken -> useGlobalCache code. In Chrome it seems updateCSS to be the issue.
Can you give more details, why CSS needs to be updated when we are scrolling virtual container? It seems to me that could be avoided, as nothing is changed with the component - it is just mounted / unmounted?
Can you give some hints about how to improve the performance. For now our component is not usable.
Ant5 - see the red Jank stripes
Ant4
The text was updated successfully, but these errors were encountered:
Also we use one theme instance and everything is constant in it - I think those component styles should be generated once and added to the page and that's it.
Why it has to be constantly updated? What is being changed there?
Hi,
we are getting a quite significant performance degradation in our virtual scrolled component with a lot of Antd components inside. Below are screeenshots of FF profiler with cssinjs (antd v5) and without (antd v4). It seems like the bottleneck here is the
useToken -> useCacheToken -> useGlobalCache
code. In Chrome it seemsupdateCSS
to be the issue.Ant5 - see the red Jank stripes
Ant4
The text was updated successfully, but these errors were encountered: