-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maximum call stack size exceeded: Vite doesn't like MANY elements #48
Comments
This may be caused by a circular reference in either the route structure or the component itself. Hard to tell without access to a repository that helps to reproduce this error. |
Interestingly, when I put all the elements items into an array and cycled through them with a function via |
Update: the app renders just fine when built. |
@dominikg Updated my initial post with a repro |
Looks like this issue stems from Svelte itself: sveltejs/svelte#4694 |
And thus, I have found a solution! https://gist.github.com/NetOpWibby/8515baa503ccc7b60189c6871c2c6096. I'll close this issue since it isn't Vite's fault anyway. |
@NetOpWibby the solution you linked gives 404. Do you remember what the solution was? |
@alexbjorlig Ah, I shortened my username so the link broke. Fixed now! |
Just so anybody else who comes across this, I managed to get this issue with using postcss and tailwind; after using I haven't got a solution yet.. but if I find one.. I will modify my comment |
Description
I have a page with 200 elements. Vite chokes on it. When I reduce the amount of items on the page, it renders just fine. Here's what happens when I run my app and navigate to the page:
Here is what one of the elements looks like:
Reproduction
https://gist.github.com/NetOpWibby/8e6fd8c3d1f326284e254f7f80cd4c31
Additional Information
The text was updated successfully, but these errors were encountered: