Replies: 2 comments 1 reply
-
|
@simwr872 If you need 'first load OR pending' semantics, Conceptually:
If your use-case is primarily async state + loading lifecycle, Sources: |
Beta Was this translation helpful? Give feedback.
-
|
@simwr872 Can you give me a quick example of how you expect to use this. I want to visualize it. I have an idea, one is have isPending being configurable to show initial isPending. But the most helpful thing is to see usage so O can determine the best payterns. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! Trying out the new 2.0 release. Is there any way to know that a memo is loading, regardless whether it is the first load or not? 2.0 introduced
isPendingbut it will befalseon first load. TheLoadingcomponent is what I need but to have the result stored in a signal. Basically anisLoadingOrPendingfunction.Previously this was possible by using
createResourceand looking at its state.Beta Was this translation helpful? Give feedback.
All reactions