Five things we can do with react-query and swr that aren't just running a single query.
Code: https://github.com/jherr/five-clever-rq-and-swr-hacks
Medium: https://jherr2020.medium.com/five-clever-hacks-for-react-query-or-swr-27c2453f4e2d
👉 Practical Module Federation Book: https://module-federation.myshopify.com/products/practical-module-federation
👉 No BS TS (The Book): https://no-bs-ts.myshopify.com/
👉 I'm a host on the React Round-Up podcast: https://devchat.tv/podcasts/react-round-up/
👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
👉 Discord server signup: https://discord.gg/ddMZFtTDa5
👉 VS Code theme and font? Night Wolf [black] and JETBrains Mono
0:00 Introduction
1:43 Project Setup
4:49 Complex Queries
12:31 Stopwatch
17:15 Throttled Logger
22:24 GPS
24:58 Web Workers
32:19 Global State
#react #javascript #reactjs