English
Search…
⌃K
Links
⏳

Atomico and Asynchrony

With Atomico, asynchrony is really easy thanks to the fact that they will allow you to know the status of the process or suspend the rendering of the component.
Atomico has 3 great hooks to solve asynchronous tasks:
  1. 1.
    ​usePromise: Processes asynchronous tasks and shows the status and resolution of these
  2. 2.
    ​useAsync: Allows you to pause rendering until a promise is resolved
  3. 3.
    ​useSuspense: Allows to know the paused states product of the use of useAsync nested in the component
​