Create Mock Data App in React | ReactJS Tutorial with API Calls, Axios, and in-memory cache

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

ความคิดเห็น • 1

  • @DevWebApp
    @DevWebApp  2 หลายเดือนก่อน

    ⌚Timestamps:
    2:08 Setting Up the ReactJS Project with ViteJS
    4:15 Create MockData functional component
    5:57 API to retrieve fake data
    6:49 Hook 'useState' to store mock data
    8:30 Adding Axios to the project
    9:42 Sending request to the API using Axios.get() function and retrieving the data with async/await
    14:48 Error handling with try/catch
    17:52 JSX for Persons' data
    19:37 Styling the App with CSS
    21:10 Using in-memory cache to reduce the amount of requests to the server
    24:02 Implementing cache-age for in-memory cache
    27:30 Final Testing of the Mock Data Application