Skip to content

How to let callback get the latest state? #2251

Answered by duskmoon314
duskmoon314 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @voidpumpkin

I figure out that I incorrectly implement PartialEq for callbacks that are passed as properties. So components are not rendered when callbacks are changed.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by duskmoon314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants