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

Large HTML still an issue - Maximum call stack size exceeded. #2061

Closed
davidjamesb opened this issue Aug 1, 2021 · 1 comment
Closed

Large HTML still an issue - Maximum call stack size exceeded. #2061

davidjamesb opened this issue Aug 1, 2021 · 1 comment

Comments

@davidjamesb
Copy link

davidjamesb commented Aug 1, 2021

Describe the bug

When creating a large HTML in svelte components - past a certain point the error message Maximum call stack size exceeded appears. There is a workaround by using {@html hugeHtml} - but it is far from ideal and impacts the development experience.

The issue is still open on the main svelte repo: sveltejs/svelte#4694

Attempts to use the patch referenced in the above issue (https://gist.github.com/NetOperatorWibby/8515baa503ccc7b60189c6871c2c6096)
did not resolve the problem.

image

Reproduction

Remove the variable/script and use the HTML directly in this REPL: https://svelte.dev/repl/1ab32c5a3c2c426e973512cfc8da023c?version=3.20.1

image

Logs

No response

System Info

System:
    OS: Windows 10 10.0.19041
    CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
    Memory: 14.04 GB / 31.94 GB
  Binaries:
    Node: 14.17.3 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.13 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 92.0.4515.107
    Edge: Spartan (44.19041.1023.0), Chromium (92.0.902.62)
    Internet Explorer: 11.0.19041.1
  npmPackages:
    @sveltejs/kit: next => 1.0.0-next.139
    svelte: ^3.34.0 => 3.41.0

Severity

annoyance / blocker

Additional Information

No response

@benmccann
Copy link
Member

Please do not file duplicate bugs when you already know an issue exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants