We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
REPL. This (admittedly somewhat rare) case fails in SSR, because it tries to do JSON.stringify(circular):
JSON.stringify(circular)
<script> let circular = {}; circular.self = circular; </script> <select bind:value={circular}> <option value={circular}>wheeee</option> </select>
/* App.svelte generated by Svelte v3.0.0-beta.8 */ import { create_ssr_component, escape } from "svelte/internal"; const App = create_ssr_component(($$result, $$props, $$bindings, $$slots) => { let circular = {}; circular.self = circular; return `<select ${(v => v ? ("value" + (v === true ? "" : "=" + JSON.stringify(v))) : "")(circular)}> <option${(v => v == null ? "" : ` value="${escape(circular)}"`)(circular)}>wheeee</option> </select>`; }); export default App;
The text was updated successfully, but these errors were encountered:
handle circular values when rendering bindings - fixes #2135
4082566
Merge pull request #3146 from sveltejs/gh-2135
1427206
handle circular values when rendering bindings
Successfully merging a pull request may close this issue.
REPL. This (admittedly somewhat rare) case fails in SSR, because it tries to do
JSON.stringify(circular)
:The text was updated successfully, but these errors were encountered: