ref.state no longer available with >2.6.0 #3809
-
Until now I was creating a provider like this:
With the deprecation of Ref subclasses, I will change the provider to
but now I get an error on the ref.state assignment because state is no available on the general Ref class. Whats the recommended way to solve this issue? |
Beta Was this translation helpful? Give feedback.
Answered by
nikel-abibiano
Oct 24, 2024
Replies: 1 comment 1 reply
-
Use a notifier |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. Solved with following code: