---
title: "#swr articles | Hashnode"
description: "Explore 23 articles tagged #swr on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/swr"
---

Tag

# #swr

23 posts · 3 followers

[skzeeshan1992](https://hashnode.com/@izsk) · [May 25](https://hashnode.com/posts/react-query-vs-swr-vs-the-use-hook-why-you-re-fetching-data-wrong/6a13ab7d551486ce6c46c0fd)

### [React Query vs SWR vs the \`use\` Hook: Why You're Fetching Data Wrong](https://izsk.hashnode.dev/react-query-vs-swr-vs-the-use-hook-why-you-re-fetching-data-wrong?utm_source=hashnode&utm_medium=feed)

You already know how to fetch data. What you're missing is everything that happens after.

24 min read · [izsk.hashnode.dev](https://izsk.hashnode.dev/react-query-vs-swr-vs-the-use-hook-why-you-re-fetching-data-wrong?utm_source=hashnode&utm_medium=feed)

[Suren Krmoian](https://hashnode.com/@skrmoian) · [May 5](https://hashnode.com/posts/implementing-stale-while-revalidate-in-nestjs-with-redisx/69f9bfc7b21588edb47827bc)

### [Implementing Stale-While-Revalidate in NestJS with RedisX](https://nestjs-redis.hashnode.dev/implementing-stale-while-revalidate-in-nestjs-with-redisx?utm_source=hashnode&utm_medium=feed)

Implementing Stale-While-Revalidate in NestJS with RedisX Caching can be a game-changer. Especially when you're dealing with large datasets or slow APIs. The Stale-While-Revalidate (SWR) pattern comes in handy here. It lets you deliver stale data ins...

3 min read · [nestjs-redis.hashnode.dev](https://nestjs-redis.hashnode.dev/implementing-stale-while-revalidate-in-nestjs-with-redisx?utm_source=hashnode&utm_medium=feed)

[Oni Ebunoluwa Mercy](https://hashnode.com/@Ebuntoday) · [Nov 9, 2025](https://hashnode.com/posts/data-fetching-in-react-the-complete-beginner-series/691022d5206aa43571a91e81)

### [Data Fetching in React: The Complete Beginner Series](https://ebuntoday.hashnode.dev/data-fetching-in-react-the-complete-beginner-series?utm_source=hashnode&utm_medium=feed)

Learn Fetch API, Axios, SWR, React Query for efficient, scalable React apps. Ideal for beginners!

5 min read · [ebuntoday.hashnode.dev](https://ebuntoday.hashnode.dev/data-fetching-in-react-the-complete-beginner-series?utm_source=hashnode&utm_medium=feed)

[Oni Ebunoluwa Mercy](https://hashnode.com/@Ebuntoday) · [Nov 7, 2025](https://hashnode.com/posts/fetching-data-in-react-with-swr-stale-while-revalidate/690e729a149c854f7f0d5309)

### [Fetching Data in React with SWR (Stale While Revalidate)](https://ebuntoday.hashnode.dev/fetching-data-in-react-with-swr-stale-while-revalidate?utm_source=hashnode&utm_medium=feed)

Learn about SWR, a library for efficient data fetching in React, featuring automatic caching and revalidation. Simplify API integration effortlessly

3 min read · [ebuntoday.hashnode.dev](https://ebuntoday.hashnode.dev/fetching-data-in-react-with-swr-stale-while-revalidate?utm_source=hashnode&utm_medium=feed)

[Tadashi Shigeoka](https://hashnode.com/@shige) · [Aug 28, 2025](https://hashnode.com/posts/oss-review-swr/68b5233694bdacda38c49872)

### [\[OSS Review\] SWR](https://ossnote.hashnode.dev/oss-review-swr?utm_source=hashnode&utm_medium=feed)

Explore SWR, a lightweight React library for efficient data fetching using stale-while-revalidate strategy, from the experts behind Next.js

2 min read · [ossnote.hashnode.dev](https://ossnote.hashnode.dev/oss-review-swr?utm_source=hashnode&utm_medium=feed)

[Koundinya Gavicherla](https://hashnode.com/@koundinyagms) · [Apr 20, 2025](https://hashnode.com/posts/caching-is-not-cheating-perceived-performance-wins/6804f23f501b642e3709e1f9)

### [Caching is not cheating: Perceived performance wins](https://koundinya.dev/caching-is-not-cheating-perceived-performance-wins?utm_source=hashnode&utm_medium=feed)

Your app feels slow. You did all the optimizations in your code imaginable. You curbed the re-renders, lazy loaded the components, memoized where necessary. And yet, people say: “Hey, it is slow.” They aren't necessarily saying your UI is janky. What...

5 min read · [koundinya.dev](https://koundinya.dev/caching-is-not-cheating-perceived-performance-wins?utm_source=hashnode&utm_medium=feed)

[Benjamin Temple](https://hashnode.com/@benjamintemple) · [Oct 23, 2024](https://hashnode.com/posts/a-comprehensive-guide-to-data-fetching-in-nextjs-15/671961f53beb67f6ebd72b8e)

### [A Comprehensive Guide to Data Fetching in Next.js 15](https://benjamintemple.hashnode.dev/a-comprehensive-guide-to-data-fetching-in-nextjs-15?utm_source=hashnode&utm_medium=feed)

Explore Next.js 15 data-fetching: server components, client-side solutions, their use cases, and choosing the best fit for your project

10 min read · [benjamintemple.hashnode.dev](https://benjamintemple.hashnode.dev/a-comprehensive-guide-to-data-fetching-in-nextjs-15?utm_source=hashnode&utm_medium=feed)

[Rio Chandra](https://hashnode.com/@kenichi) · [Jul 9, 2024](https://hashnode.com/posts/swr-nextjs-auto-rotate-refresh-token/668d0aaddd74a8f5b87b87c7)

### [SWR Nextjs : Auto Rotate Refresh Token](https://rio-chandra.hashnode.dev/swr-nextjs-auto-rotate-refresh-token?utm_source=hashnode&utm_medium=feed)

What stack that I use? "swr": "^2.2.5", "next": "14.2.3", Problem SPA (Single Page Application) are hard to identify user's session using JWT. In my case, I use JWT as token session that used for every interaction API. Solution We can use on...

2 min read · [rio-chandra.hashnode.dev](https://rio-chandra.hashnode.dev/swr-nextjs-auto-rotate-refresh-token?utm_source=hashnode&utm_medium=feed)

[ByteScrum Technologies](https://hashnode.com/@bytescrum) · [Jun 12, 2024](https://hashnode.com/posts/advanced-data-fetching-techniques-in-nextjs/6669231de78c9d48943649e5)

### [Advanced Data Fetching Techniques in Next.js](https://blog.bytescrum.com/advanced-data-fetching-techniques-in-nextjs?utm_source=hashnode&utm_medium=feed)

Harness the Power of Next.js to Fetch Data Effectively

4 min read · [blog.bytescrum.com](https://blog.bytescrum.com/advanced-data-fetching-techniques-in-nextjs?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/advanced-data-fetching-techniques-in-nextjs/6669231de78c9d48943649e5)

[Somadina Eze](https://hashnode.com/@Somadina6) · [Apr 21, 2024](https://hashnode.com/posts/resolving-endless-loops-in-a-cryptocurrency-token-application/66248e9c9f3a8bf46303503f)

### [Resolving Endless Loops in a Cryptocurrency Token Application](https://somadinaeze.hashnode.dev/resolving-endless-loops-in-a-cryptocurrency-token-application?utm_source=hashnode&utm_medium=feed)

Simplifying State Management and Async Tasks in Cryptocurrency Token Apps

2 min read · [somadinaeze.hashnode.dev](https://somadinaeze.hashnode.dev/resolving-endless-loops-in-a-cryptocurrency-token-application?utm_source=hashnode&utm_medium=feed)
