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
Currently, when you mess up something in your HTML, you could get an error similar to this:
TypeError: (intermediate value)(intermediate value).push is not a function
In this case, it was caused by a missing > in the opening <div;
>
<div
html`<div <span data-foo="${'test'}">test</span> </div>`,
The error you get, is not very helpful.
This is a known issue (developit/htm#188), but there isn't a solution yet – either a better error response, or auto-fix that error.
For now, we could wrap our html export that adds a try/catch and tries to do at least some error reporting.
html
try/catch
The text was updated successfully, but these errors were encountered:
ThaNarie
Successfully merging a pull request may close this issue.
Currently, when you mess up something in your HTML, you could get an error similar to this:
In this case, it was caused by a missing
>
in the opening<div
;The error you get, is not very helpful.
This is a known issue (developit/htm#188), but there isn't a solution yet – either a better error response, or auto-fix that error.
For now, we could wrap our
html
export that adds atry/catch
and tries to do at least some error reporting.The text was updated successfully, but these errors were encountered: