Build an Optimistic UI in React using SWR with useMutation
Use the useMutation hook together with SWR to implement optimistic updates in your React components
Tags: swr, usemutation, react, hooks