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
The following code will cause the browser to hang forever:
<ReactPaginate
pageCount={Infinity}
....
/>
Most likely it falls into an endless loop.
While a user shouldn't pass infinity, it can be done by mistake and the fact that it breaks and freezes the whole UI without a notice makes it hard to figure out. For example it will happen if the user divides something 0, that javascript allows.
The text was updated successfully, but these errors were encountered:
@NgoKnows the issue I mentioned about infinity is not about being slow, it's about falling into something like an endless loop and totally freezing the browser.
I haven't had to deal with large page count, so I can't really tell about it sorry
The following code will cause the browser to hang forever:
Most likely it falls into an endless loop.
While a user shouldn't pass infinity, it can be done by mistake and the fact that it breaks and freezes the whole UI without a notice makes it hard to figure out. For example it will happen if the user divides something 0, that javascript allows.
The text was updated successfully, but these errors were encountered: