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
if-else
html!
Example:
use yew::prelude::*; #[function_component(Application)] fn app() -> Html { let loading = false; html! { if loading { { "Loading" } } else { { "Done" } } } }
yew-fmt shouldn't do anything here since this is already correctly formatted.
yew-fmt
Result:
error: unexpected end of input, expected curly braces ┌─ /path/to/test.rs:9:9 │ 9 │ } else { │
The text was updated successfully, but these errors were encountered:
Fixed issue #5
0233351
Thank you for reporting this, should be fixed in v0.2.3
Sorry, something went wrong.
else if
elseif
No branches or pull requests
Example:
yew-fmt
shouldn't do anything here since this is already correctly formatted.Result:
The text was updated successfully, but these errors were encountered: