---
title: "Discussion on \"useSWR usage in vercel/ai-chatbot hooks.\" | Hashnode"
description: "Discussion on \"useSWR usage in vercel/ai-chatbot hooks.\". 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.\n\nvercel/ai-chatbot/hooks/use-artifact.ts#L3\n\nvercel/ai-chatbot/hooks/use-chat-visibility.ts#L4\n\n\n\n\nuse-artif..."
url: "https://hashnode.com/posts/useswr-usage-in-vercelai-chatbot-hooks/68007caf102bfadbc56ffbc7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [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...

Apr 17, 2025 · 3 min read · thinkthroo.com  
Updated Apr 23, 2025  
Read the article

-   [#vercel](https://hashnode.com/tag/vercel)
-   [#ai-chatbot](https://hashnode.com/tag/ai-chatbot)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#useswr](https://hashnode.com/tag/useswr)

## Written by

[Ramu Narasinga](https://hashnode.com/@ramunarasinga)

@ramunarasinga · India

  
[View profile](https://hashnode.com/@ramunarasinga)

I study large open-source projects and create content about their codebase architecture and best practices, sharing it through articles, videos.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
