ReactiveState
The lifecycle state of a ReactiveStreamStore as a single snapshot.
idle: the store has not yet been connected, or has been reset via `reset()`. Call `connect()` to open the underlying stream.loading: a connection is in progress.dataanderrorare preserved from the previous connection (if any) — stale-while-revalidate UX. A subsequentloadedclearserror; a subsequenterrorreplaces it.loaded: a value has been received and no error is active.error: the stream failed.dataholds the last known value (orundefinedif none ever arrived) anderrorholds the failure.
Type Parameters
| Type Parameter |
|---|
T |