Ever Wondered Why You Can’t Use an Async Function/Promise Di


Topic: Ever Wondered Why You Can’t Use an Async Function/Promise Directly as a UseEffect Argument?
Published 11.07.2019 Updated 11.07.2019

— A minor detail, but this ‘limitation’ is by design.

https://twitter.com/dan_abramov/status/1146879490347470848?s=21
Please insert min. 20 characters.
Details of the news