snapsl
snapsl
@lijuj2 could you please add more context to this issue? @MarkOSullivan94 The creation of launcher icon seems to be broken with the latest flutter 3.27 release, specifically for android. I...
Ops. I should have thought of that myself. 😅 This could be added to the docs. Perhaps this could be automated so that Riverpod restores the previous state in the...
I do believe that this should be the default setting, because if an update is not optimistic, this would result in a noop. Yeah, scheduling of async mutation could get...
@rubenferreira97 Thanks for this sample. Since mutation are currently tied to a notifier its convenient to expose them as static class variables. Apart from the ref parsing this look quite...
> The API wasn't meant to be public. > > I am not sure about the replacement yet. But in the meantime, you can call `state=` twice. This should achieve...
> The reason for this AsyncLoading is twofold: > > When doing return value in an async function, Riverpod doesn't get access to the value until one frame has passed....
Thanks for clarification @rrousselGit. Adding an option to skip the AsyncLoading state is nice, even though most people (like me) will probably never notice the issue. More concerning is the...
I would prefer to return the actual data. There is probably a way to check / flag internally if provider is already initialized and skip the AsyncLoading state on recompute.
So this is about the fact that we can't update computed providers in the same frame due to scheduling of flutter and not about having the a redundant AsyncState? Because...
Ok this might get off topic. I don't see the relation to issue? Because you could simply make the main async and await the fn to get the desired output.