Tips for Optimistic Updates with use_resource #3769
-
I'm looking for best practices around implementing optimistic updates when using
Looking forward to hearing the community's thoughts and experiences. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, that sounds like a reasonable approach. You could use
I don't know of any, but if you build one, you should add it to dioxus awesome 🙂 |
Beta Was this translation helpful? Give feedback.
Yes, that sounds like a reasonable approach. You could use
use_resource
for the asynchronous request anduse_memo
for the synchronous optimistic updateI don't know of any, but if you build one, you should add it to dioxus awesome 🙂