This repository has been archived by the owner on Dec 31, 2022. It is now read-only.
Feature: useDeferred()
#17
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
question
Further information is requested
The
useDeferred()
hook creates and stores in a state slot (viauseState(..)
) an object, commonly called a deferred, which is a promise and also itsresolve(..)
/reject(..)
capabilities.Unclear if there's any pattern that would benefit from passing a value to
useDeferred(..)
. Need to further consider.The text was updated successfully, but these errors were encountered: