Using fetch with React.js & TypeScript

Опубликовано: 23 Октябрь 2024
на канале: Online Aid
2,942
18

In this video, I will show the data fetching method using react and typescript.
ES6 async-await arrow function Stay tuned by subscribing :)

-- Join my community
https://www.github.com/onlineaid
   / onlineaid  
  / onlineaid  
https://www.showwcase.com/onlineaid
  / theonlineaid  
  / theonlineaid  
  / theonlineaid  
  / onlineaid  
  / im.wevdev  


0:00:00 Introduction
0:02:05 Create Components
0:02:45 Import Components
0:03:28 Create a Fetching Route
0:04:00 Create Fetching Function
0:08:20 Use Async Function With Await Keyword
0:09:50 Create UseState Hook
0:12:45 Map All Fetching Data
0:16:16 Define Type Use Interface
0:19:22 Use UseEffect Function
0:20:25 Handling Error Check Status
0:23:00 Finish React TypeScript Fetching Project