Consider adding `useFetch` hook
kripod opened this issue · 1 comments
kripod commented
Motivation
Data fetching is a common practice in web applications. While a useFetch
hook would be useful, React's Suspense API is destined to replace it.
Basic example
https://codesandbox.io/s/jvvkoo8pq3, taken from the official React Hooks FAQ
Details
kripod commented
React Async already provides a well-engineered, thematic solution for this problem.