@@ -384,12 +384,12 @@ is set to `"application/json"`.
384384- ` initialValue ` The data or error that was provided through the ` initialValue ` prop.
385385- ` startedAt ` When the current/last promise was started.
386386- ` finishedAt ` When the last promise was resolved or rejected.
387- - ` status ` One of: ` waiting ` , ` pending ` , ` fulfilled ` , ` rejected ` .
388- - ` isWaiting ` true when no promise has ever started, or one started but was cancelled.
387+ - ` status ` One of: ` initial ` , ` pending ` , ` fulfilled ` , ` rejected ` .
388+ - ` isInitial ` true when no promise has ever started, or one started but was cancelled.
389389- ` isPending ` true when a promise is currently awaiting settlement. Alias: ` isLoading `
390390- ` isFulfilled ` true when the last promise was fulfilled with a value. Alias: ` isResolved `
391391- ` isRejected ` true when the last promise was rejected with a reason.
392- - ` isSettled ` true when the last promise was fulfilled or rejected (not waiting or pending).
392+ - ` isSettled ` true when the last promise was fulfilled or rejected (not initial or pending).
393393- ` counter ` The number of times a promise was started.
394394- ` cancel ` Cancel any pending promise.
395395- ` run ` Invokes the ` deferFn ` .
@@ -431,10 +431,10 @@ Tracks when the last promise was resolved or rejected.
431431
432432> ` string `
433433
434- One of: ` waiting ` , ` pending ` , ` fulfilled ` , ` rejected ` .
434+ One of: ` initial ` , ` pending ` , ` fulfilled ` , ` rejected ` .
435435These are available for import as ` statusTypes ` .
436436
437- #### ` isWaiting `
437+ #### ` isInitial `
438438
439439> ` boolean `
440440
@@ -466,7 +466,7 @@ Alias: `isResolved`
466466
467467> ` boolean `
468468
469- ` true ` when the last promise was either fulfilled or rejected (i.e. not waiting or pending)
469+ ` true ` when the last promise was either fulfilled or rejected (i.e. not initial or pending)
470470
471471#### ` counter `
472472
@@ -511,7 +511,7 @@ invoked after the state update is completed. Returns the error to enable chainin
511511React Async provides several helper components that make your JSX more declarative and less cluttered.
512512They don't have to be direct children of ` <Async> ` and you can use the same component several times.
513513
514- ### ` <Async.Waiting > `
514+ ### ` <Async.Initial > `
515515
516516Renders only while the deferred promise is still waiting to be run, or you have not provided any promise.
517517
@@ -524,14 +524,14 @@ Renders only while the deferred promise is still waiting to be run, or you have
524524
525525``` js
526526< Async deferFn= {deferFn}>
527- < Async .Waiting >
527+ < Async .Initial >
528528 < p> This text is only rendered while ` run` has not yet been invoked on ` deferFn` .< / p>
529- < / Async .Waiting >
529+ < / Async .Initial >
530530< / Async>
531531```
532532
533533``` js
534- < Async .Waiting persist>
534+ < Async .Initial persist>
535535 {({ error, isLoading, run }) => (
536536 < div>
537537 < p> This text is only rendered while the promise has not resolved yet.< / p>
@@ -541,7 +541,7 @@ Renders only while the deferred promise is still waiting to be run, or you have
541541 {error && < p> {error .message }< / p> }
542542 < / div>
543543 )}
544- < / Async .Waiting >
544+ < / Async .Initial >
545545```
546546
547547### ` <Async.Pending> `
0 commit comments