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

Global handlers should require that callbacks are UseCallback<T> or a Callback<T> type (to carry runtime + scope) #1905

Closed
kzhui125 opened this issue Feb 6, 2024 · 1 comment · Fixed by #2852
Assignees
Milestone

Comments

@kzhui125
Copy link

kzhui125 commented Feb 6, 2024

cargo run --package dioxus-examples --example shortcut

ctrl + s

image
@jkelleyrtp
Copy link
Member

Should be fixed in master now.

We made some big changes recently and need to adjust our global handlers. Leaving this open until all handlers are adjusted.

@jkelleyrtp jkelleyrtp changed the title examples/shortcut panicked Global handlers should require that callbacks are UseCallback<T> or a Callback<T> type (to carry runtime + scope) Feb 6, 2024
@jkelleyrtp jkelleyrtp added this to the 0.5.0: Signals milestone Feb 23, 2024
@jkelleyrtp jkelleyrtp removed this from the 0.5.0: Signals milestone Mar 7, 2024
@jkelleyrtp jkelleyrtp added this to the 0.6.0 milestone Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants