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
So I think the key thing is to introduce a mechanism for handling callbacks into gloo. I think what makes sense is to introduce a callback mechanism into gloo which very closely mirrors Yew's and stick some From<yew::Callback> implementations into gloo behind a feature flag.
With that done it should be a fairly easy lift (after adding some things like a builder syntax).
Why do you think gloo should be based on callbacks for something like fetch? async functions work well and are more idiomatic Rust. Those can be used from Yew like any other future.
When rethinking the Fetch service, we should consider implementing for the gloo project. See here for the relevant issue: rustwasm/gloo#4
The text was updated successfully, but these errors were encountered: