Skip to content
New issue

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

Add must use to several hooks #1544

Merged
merged 2 commits into from Oct 17, 2023
Merged

Conversation

ealmloff
Copy link
Member

Adds the must use lint to several hooks along with possible alternatives to use if you don't care about the return value. This should help users notice when they have an unnecessary hook or there is a different hook they should be using instead

@ealmloff ealmloff added hooks Changes to built-in hook package tweak Small changes to improve experience labels Oct 14, 2023
@jkelleyrtp jkelleyrtp merged commit 509dca9 into DioxusLabs:master Oct 17, 2023
10 checks passed
@ealmloff ealmloff deleted the must-use-hooks branch October 17, 2023 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hooks Changes to built-in hook package tweak Small changes to improve experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants