useAsyncUpdateEffect

A React Hook which is like useAsyncEffect but ignore the execution at first mount.

Note

It should not return a cleanup function as it's async which cannot cleanup as expected.

If you need to cleanup something, use isCancelled in UseAsyncEffectCallback instead to check effect status.

Demo

It will NOT execute at first mount.

Source
Value:
none
Ignored action count:
0

Usage

See API for more details.

Source

Click links below to view source on GitHub.

API

See useAsyncEffect.

ON THIS PAGE