đšī¸ 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?
TypeScriptReact
React and TypeScript, v2Video
by Steve Kinney
đšī¸ Levels: đ Intermediate
âŗ Duration: 4.5 hours
đ¤ Price: Subscription
đ§âđģ Learning Platform: Frontend Masters
ReactJavaScript
Immutable JavaScript Data Structures with ImmerVideo
by Michel Weststrate
đšī¸ Levels: đ Intermediate
âŗ Duration: 1 hours
đ¤ Price: Free
đ§âđģ Learning Platform: Egghead.io
ReactJotai
Manage Application State with Jotai AtomsVideo
by Daishi Kato
đšī¸ Levels: đ Intermediate
âŗ Duration: 0.5 hours
đ¤ Price: Free
đ§âđģ Learning Platform: Egghead.io