πΉοΈ Levels: π Intermediate
β³ Duration: 0.5 hours
π€ Price: Subscription
π§βπ» Learning Platform: Egghead.io
π§βπ Certificate: No
π Key Learning Outcomes
- Understanding how to use SWR for data fetching in React.
- Manipulating client-side cache with the mutate hook.
- Implementing optimistic updates in the UI.
- Handling server errors in an optimistic UI.
π¨βπ« About the Course
This course delves into using Vercel's SWR library to create an optimistic UI in React. You will learn how to leverage the mutate hook to update the client-side cache, enabling you to visually indicate background saves and revert updates in case of server errors.
π― Target Audience
- Ideal for developers familiar with React who want to enhance their UI responsiveness.
- Suitable for those interested in client-side data manipulation and improving user experience.
β Requirements
- Basic knowledge of React and JavaScript.
- Familiarity with state management in React applications.
π Course Content
- Learn to optimistically update SWR's cache with client-side data.
- Update the cache with a server-side response.
- Indicate background saves in an optimistic UI with React.
- Revert optimistic UI updates when server errors occur.
Drop a comment
Create an Optimistic UI in React with SWR by Sam Selikoff
Log in to leave a feedback
Loginπ Psst! Interested in More React Courses?
Build Advanced Components with React HooksVideo
by MatΓas HernΓ‘ndez
πΉοΈ Levels: π Intermediate
β³ Duration: 0.5 hours
π€ Price: Free
π§βπ» Learning Platform: Egghead.io
Build Better React Websites with Next.jsVideo
by Brad Traversy
πΉοΈ Levels: π Intermediate
β³ Duration: 10 hours
π€ Price: 25
React 18 for BeginnersVideo
by Mosh Hamedani
πΉοΈ Levels: π± Beginner
β³ Duration: 8 hours
π€ Price: Subscription