YoVDO

Create an Optimistic UI in React with SWR

Offered By: egghead.io

Tags

React Courses Web Development Courses

Course Description

Overview

Vercel's data-fetching library SWR features a client-side cache. Learn how to use the mutate hook to manipulate this cache in order to optimistically update your UI without waiting for a response from the network.
Learn more about SWR here: https://github.com/zeit/swr

Syllabus

  • Optimistically Update SWR's Cache with Client-side Data
  • Update SWR's Cache with a Server-side Response
  • Visually Indicate That a Background Save is Taking Place in an Optimistic UI with React
  • Revert Optimistic UI Updates when the Server Errors

Taught by

Sam Selikoff

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX