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

Tag

# #useswr

3 posts · 0 followers

[Ramu Narasinga](https://hashnode.com/@ramunarasinga) · [Apr 17, 2025](https://hashnode.com/posts/useswr-usage-in-vercelai-chatbot-hooks/68007caf102bfadbc56ffbc7)

### [useSWR usage in vercel/ai-chatbot hooks.](https://thinkthroo.com/blog/useswr-usage-in-vercelai-chatbot-hooks?utm_source=hashnode&utm_medium=feed)

In this article, we will review the useSWR usage in vercel/ai-chatbot source code. I found two examples in hooks folder where useSWR is used. vercel/ai-chatbot/hooks/use-artifact.ts#L3 vercel/ai-chatbot/hooks/use-chat-visibility.ts#L4 use-artif...

3 min read · [thinkthroo.com](https://thinkthroo.com/blog/useswr-usage-in-vercelai-chatbot-hooks?utm_source=hashnode&utm_medium=feed)

[Ramu Narasinga](https://hashnode.com/@ram11) · [Jul 28, 2024](https://hashnode.com/posts/cache-your-fetcher-in-useswr-with-usecallback/66a9566f487674965ffd98e5)

### [Cache your fetcher in useSWR with useCallback.](https://ramunarasinga.hashnode.dev/cache-your-fetcher-in-useswr-with-usecallback?utm_source=hashnode&utm_medium=feed)

I found a way that caches the fetcher in useSWR using useCallback in the Gitroom source code. The above image is from platform-analytics/render.analytics.tsx. Let’s try to understand this code snippet. we’ll explore how to optimize data fetching in ...

3 min read · [ramunarasinga.hashnode.dev](https://ramunarasinga.hashnode.dev/cache-your-fetcher-in-useswr-with-usecallback?utm_source=hashnode&utm_medium=feed)

[Emmanuel Oloke](https://hashnode.com/@emmanueloloke) · [Apr 7, 2023](https://hashnode.com/posts/reacts-useeffect-vs-useswr-exploring-data-fetching-in-react/64303feda26bf9417285780e)

### [React's useEffect vs. useSWR: Exploring Data Fetching in React.](https://emmanueloloke.hashnode.dev/reacts-useeffect-vs-useswr-exploring-data-fetching-in-react?utm_source=hashnode&utm_medium=feed)

Introduction The concept of data fetching in React applications is of high importance as it is often necessary to fetch data from an external source, such as an API or a database, and use that data to render components. React provides several ways to...

9 min read · [emmanueloloke.hashnode.dev](https://emmanueloloke.hashnode.dev/reacts-useeffect-vs-useswr-exploring-data-fetching-in-react?utm_source=hashnode&utm_medium=feed)
