Skip to content

Does React's closure trap exist in Dioxus? #1316

Answered by ealmloff
qouteall asked this question in Q&A
Discussion options

You must be logged in to vote

It does exist, see #619. You can get the current value with the current() function on use_state or the value of use_ref is always up to date

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by qouteall
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