Skip to content
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

Array push spread v8 #40

Closed
exced opened this issue Apr 28, 2020 · 0 comments · Fixed by #71
Closed

Array push spread v8 #40

exced opened this issue Apr 28, 2020 · 0 comments · Fixed by #71
Labels
enhancement New feature or request

Comments

@exced
Copy link

exced commented Apr 28, 2020

Hi,
Coming from sveltejs/svelte#4694.
handlers.ts is using array push with spread operator in multiple places and it is causing max call stacks in v8 (too many params in a function call).
The issue is providing an example but I can come up with a repro if you want.
I'd like to handle it but I am not sure what you prefer: using for loops, array concat, or even using a codemod ? Or not handling it at all 😄
Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants