We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd65be commit 6b6b67dCopy full SHA for 6b6b67d
README.md
@@ -686,6 +686,9 @@ A reference to the internal wrapper promise created when starting a new promise
686
`run` / `reload`). It fulfills or rejects along with the provided `promise` / `promiseFn` / `deferFn`. Useful as a
687
chainable alternative to the `onResolve` / `onReject` callbacks.
688
689
+Warning! If you chain on `promise`, you MUST provide a rejection handler (e.g. `.catch(...)`). Otherwise React will
690
+throw an exception and crash if the promise rejects.
691
+
692
#### `run`
693
694
> `function(...args: any[]): void`
0 commit comments