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
Pagination component is eating memory sice 1e7b8db It's slow and can consume gigabytes of RAM.
This is due to the use of Array(length).fill() in the loop. Thus, instead of creating only the necessary nodes for only visible page numbers, nodes are created even for invisible pages.
The text was updated successfully, but these errors were encountered:
Pagination
component is eating memory sice 1e7b8db It's slow and can consume gigabytes of RAM.This is due to the use of
Array(length).fill()
in the loop. Thus, instead of creating only the necessary nodes for only visible page numbers, nodes are created even for invisible pages.The text was updated successfully, but these errors were encountered: