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
||
Using || in an {{#if}} statement results in an error: "if_block.mount is not a function"
{{#if}}
https://svelte.technology/repl?version=1.18.1&gist=5d0b636c8f48d7adf2dec15ba5e2fbe6
The text was updated successfully, but these errors were encountered:
On line 4 we need parenthesis around
state.name || state.foo === "bar"
Sorry, something went wrong.
fix simple if blocks with top-level or conditions (#532)
f74941b
Merge pull request #533 from sveltejs/gh-532
a665825
Fixed in 1.18.2 — thanks
No branches or pull requests
Using
||
in an{{#if}}
statement results in an error: "if_block.mount is not a function"https://svelte.technology/repl?version=1.18.1&gist=5d0b636c8f48d7adf2dec15ba5e2fbe6
The text was updated successfully, but these errors were encountered: