Skip to content

Comments

Add resolve/reject to exports#190

Open
nadaru-fr wants to merge 1 commit intoeBay:mainfrom
nadaru-fr:resolve-reject
Open

Add resolve/reject to exports#190
nadaru-fr wants to merge 1 commit intoeBay:mainfrom
nadaru-fr:resolve-reject

Conversation

@nadaru-fr
Copy link

Currently resolve/reject is only accesible via hook, which means only accessible in react functional components.
I need access to them for side effects, and the most appropriate way to do this is to export the resolve/reject functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant