In the codesandbox link that is provided, if you change the MAX to a number over 10million (sometimes 100million), the page crashes. It seems like there might be an array generated with this size since the step size is small here. Given that it takes up too much space, we get a crash.
In the codesandbox link that is provided, if you change the MAX to a number over 10million (sometimes 100million), the page crashes. It seems like there might be an array generated with this size since the step size is small here. Given that it takes up too much space, we get a crash.
Is it possible to fix this issue?