useFetch: React custom hook for Fetch API with Suspense and Concurrent Mode in Mind

added by JavaScript Kicks
2/4/2019 8:38:34 AM

326 Views

Until we have react-cache or for a different purpose. Introduction While I don't feel like coding React without hooks, react-cache still seems to be still far away. Surely, caching in data fetching important, nevertheless I would like to seek possibilities of implementations only with React Hooks.


0 comments