Feb 7 · 3 min read · Server Actions are one of those features that completely changed how I think about form handling in Next.js. Instead of creating API routes and managing fetch calls, you can write server-side functions that work seamlessly with your forms. The best p...
Join discussion
Dec 27, 2025 · 5 min read · Next.js is a powerful React framework that not only provides routing and data fetching but also supports advanced server-side features. This guide explains Server Components, Edge Functions, Middleware, and methods to reset the Next.js development ca...
Join discussion
Jun 22, 2025 · 13 min read · 🔍 Introduction Ever landed on a page in your Next.js app and wondered why the UI didn’t quite reflect your latest changes, without you clicking refresh? You’re not alone. While the App Router’s Server Actions and React Server Components (RSC) promis...
Join discussion
Mar 18, 2025 · 12 min read · In web development, performance optimization is crucial for delivering a seamless user experience. Next.js 15 introduces several powerful caching mechanisms, which we will explore one by one. 1 . Request Memoization Next.js extends the fetch API to a...
SStephen commented
Dec 8, 2024 · 4 min read · Next.js has always been a strong framework for building full-stack apps, and with the introduction of server actions in version 13.4, it has become even more powerful.So, what are server actions?Server actions are asynchronous functions executed on t...
Join discussion
Oct 9, 2024 · 4 min read · One of the critical mistakes I learned in my Next.js journey is failing to validate and protect server actions. Server actions in Next.js can expose post routes, which can be vulnerable if not properly secured. When using server actions, it's essenti...
Join discussion
Aug 27, 2024 · 12 min read · Handling form validations natively in React can be cumbersome and time-consuming—something you’ve probably experienced firsthand. Fortunately, by using React Hook Form and Zod together, you can streamline this process and kiss your struggles goodbye....
Join discussion
Jul 30, 2024 · 2 min read · 문제 상황 최근 프로젝트에서 사용자가 팔로우/언팔로우 버튼을 클릭할 때, 프로필 정보가 즉시 업데이트되지 않고 페이지를 새로고침해야만 변경 사항이 반영되는 문제가 발생했다. 이 문제는 사용자 경험을 저하시킬 수 있으므로, 팔로우/언팔로우 후에 프로필 정보가 즉시 반영되도록 개선이 필요했다. 문제 원인 문제의 원인은 팔로우/언팔로우 버튼을 클릭했을 때, 팔로우 상태가 변경된 후 서버 사이드에서 데이터를 다시 가져와 클라이언트로 반영하지 않았기 ...
Join discussion
Jul 23, 2024 · 4 min read · TL;DR: Discover how to implement type-safe server actions in your Next.js application using zsa or next-safe-action. This guide focuses on zsa, offering a clear approach to integrating type safety, validation, and error handling. Introduction to Type...
Join discussion