Promise-valued APIs are unwrapped. The hook suspends while the promise is
pending and throws its rejection reason if it fails. Render consumers of
promise-valued APIs inside a Suspense boundary.
Direct holder lookups and factory dependencies retain the declared API value.
React hook for retrieving APIs.
Promise-valued APIs are unwrapped. The hook suspends while the promise is pending and throws its rejection reason if it fails. Render consumers of promise-valued APIs inside a Suspense boundary.
Direct holder lookups and factory dependencies retain the declared API value.