-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
yield html`<bx</b>`
// or even `<</>`
- error logged in JS console
- results do not render
- if you reload page at this stage, page comes up remains blank — not even code editor so user can't recover 😢 FIXED NOW
- results do not render even if you fix the code in the editor (
<b>x</b>
). FIXED NOW- But
saveCode
works, so if you reload after code is good, it'll work again.
- But
Firefox console:
Uncaught (in promise) DOMException: String contains an invalid character
Preact x36
saveCode http://127.0.0.5:8000/:156
onUpdate http://127.0.0.5:8000/:208
...
(Preact source map doesn't load in FF, does in Chrome)
Chrome console:
Uncaught (in promise) InvalidCharacterError: Failed to execute 'createElementNS' on 'Document': The qualified name provided ('bx<') contains the invalid character '<'.
at N (index.js:436:18)
at j (index.js:321:28)
at $ (children.js:96:16)
at N (index.js:527:4)
at j (index.js:321:28)
...
x.setState component.js:54
o.__c.o.__ index.js:195
saveCode (index):156
...
Specifically, it fails in "As a node" rendering ${evalResult}
.
- Maybe unrelated, but adding ErrorBoundary to "As a node" render breaks by itself, why?
Metadata
Metadata
Assignees
Labels
No labels