You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could ignore cases where literals (and maybe constants) are used if possible (e.g. if true && use_hook(...)), but clippy should hopefully prevent cases like that
The text was updated successfully, but these errors were encountered:
Feature Request
Follow-up for #2902
We should add lints for hooks in conditional branches such as:
if
statements:match
statements:Implement Suggestion
Add checks to https://github.com/DioxusLabs/dioxus/blob/main/packages/check/src/check.rs
We could ignore cases where literals (and maybe constants) are used if possible (e.g.
if true && use_hook(...)
), but clippy should hopefully prevent cases like thatThe text was updated successfully, but these errors were encountered: