A custom React hook to create and use deferred promises
More details and how to use it, at: https://dev.to/vicnovais/creating-a-deferred-promise-hook-in-react-39jh
A custom React hook to create and use deferred promises
More details and how to use it, at: https://dev.to/vicnovais/creating-a-deferred-promise-hook-in-react-39jh