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

Restore write_silent as a deprecated function with updated recommendations #2071

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

ealmloff
Copy link
Member

A few people have run into issues updating from use_ref to use_signal because of write_silent.

This PR adds a write_silent method to signals to make updating from use_ref slightly easier. The method is depreciated in favor of peek

@ealmloff ealmloff added tweak Small changes to improve experience signals Related to the signals crate labels Mar 13, 2024
@jkelleyrtp jkelleyrtp merged commit 34956cd into DioxusLabs:main Mar 13, 2024
8 of 9 checks passed
@ealmloff ealmloff deleted the depreciated-write-silent branch March 13, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
signals Related to the signals crate tweak Small changes to improve experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants