You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fermi's AtomState::current() doesn't actually return the current value, it does the same thing as AtomState::get()
but it clons the inner value Steps To Reproduce
Create an AtomState
Clone it and hold it in some event handler / async block, and do regular println!() on the value returned by .current()
Modify it
The value printed in 2. will still be the old one
Expected behavior
Print the new value
Environment:
Dioxus version: 0.4
Rust version: 1.73
OS info: Windows 11
App platform: freya
Questionnaire
I'm interested in fixing this myself but don't know where to start
I would like to fix and I have a solution
I don't have time to fix this right now, but maybe later
The text was updated successfully, but these errors were encountered:
Problem
Fermi's
AtomState::current()
doesn't actually return the current value, it does the same thing asAtomState::get()
but it clons the inner value
Steps To Reproduce
Expected behavior
Print the new value
Environment:
Questionnaire
The text was updated successfully, but these errors were encountered: