Using SWR for data fetching in React & Optimistic UI

preview_player
Показать описание
We also talk about data mutations and optimistic UI.
Рекомендации по теме
Комментарии
Автор

Really enjoyed the intro but would love to see an example of a more complex app. I'm specifically having trouble deciding how much local state to hold and how much to leave in SWR's cache. For example how would SWR work with multi-part forms when editing data that has been populated by SWR. At what point do you send the request and at what point do you use the revalidation.

callumn-d
join shbcf.ru