HTTP Requests
Updated 1 week ago
Fetch API
- 📺 Complete Guide to fetch - with async await • 9 minute video by Basarat Ali demonstrating how to make
GET
,POST
,PUT
andDELETE
requests and parse the results usingfetch
, handle network errors, and create utilities to make each request easier to reuse.
React Query
- 📺 All About React Query • 89 minute video by Tanner Linsley and Jason Lengstorf demonstrating how to use
react-query
to make cached fetch and post requests and keep them updated. Optimistic update method shown at 1:08:55. - 📺 React Query v3 - Refactor an app into using React-Query • 25 minute video by Weibenfalk showing how to refactor a movie search app infinite scrolling from custom data fetching hooks to
react-query
. - 📺 React shopping cart with TypeScript • 68 minute video by Weibenfalk showing how to create an ecommerce store using
react-query
3 and the Fake Store API. - 📺 React Query - Data Fetching Hooks • 18 minute video by Leigh Halliday introducing how to use
react-query
to fetch data. - 📺 Posting Data to Server from React - Query Updates from Mutations • 22 minute video by Leigh Halliday showing how to use
react-query
to update server-side data with an optimistic UI pattern.
SWR
- 📺 Buffering new Tweets with SWR • 17 minute video by Sam Selikoff using a Twitter clone to demonstrate how to use
swr
to show cached content while fetching the latest content in the background.