---
title: "Yohan LB (@yohanlb) | Hashnode"
description: "I build web apps and stuff. Read the latest articles by Yohan LB on Hashnode."
url: "https://hashnode.com/@yohanlb"
---

@yohanlb

# Yohan LB

@yohanlb · Joined September 2024

I build web apps and stuff

[Website](https://yohanlebreton.com/)

## Comments

[Hey Lewis, thanks for reading! and the article actually agrees with you on that one! This nuances in what should be the use cases for Server Actions are actually the whole point of this article :) Server Actions are POST-only and can't be natively cached, which makes them a poor fit as soon as your data fetching needs any caching or state management. Something like TanStack Query or SWR will serve you much better there. On the API route point, the abstraction still meaningfully reduces boilerplate and makes TypeScript types seamless across boundaries. Similar concept under the hood, very different experience in practice.](https://hashnode.com/posts/when-should-i-use-server-action-nextjs/67101fe7da7b60704b350eb2/comment/6a022455fca21b0d4b598810#reply-6a0a1dfd3104e2aff0d41b7d)

Reply · Article · May 17 · [When should I use Server Actions (Next.js 15)](https://hashnode.com/posts/when-should-i-use-server-action-nextjs/67101fe7da7b60704b350eb2)

[Let me know what you think! Can you think of more use cases? What is your favorite way to use server actions?](https://hashnode.com/posts/when-should-i-use-server-action-nextjs/67101fe7da7b60704b350eb2/comment/6710cbc4622732893ce5e113)

Comment · Article · Oct 17, 2024 · [When should I use Server Actions (Next.js 15)](https://hashnode.com/posts/when-should-i-use-server-action-nextjs/67101fe7da7b60704b350eb2)
