Tuan Tran Vanblog.tuanhadev.tech·Jan 4, 2025All The New Features In ReactReact’s journey began in 2011 when Facebook engineers created it to manage the increasingly complex interface of their rapidly growing platform. React’s initial focus was on re-rendering only the necessary parts of the UI, leading to improved perform...React
Ben Abderrahmen Mohamed Aminem-amine-bar.hashnode.dev·Dec 8, 2024Exploring Next.js Server ActionsNext.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...86 readsJavaScript
Keshav Sharmakeshavsharma.hashnode.dev·Nov 16, 2024Server Actions in Next.jsNext.js is known for its power and flexibility when it comes to building fast, modern web applications. With Next.js 14, a new feature got introduced that changed the way we thought about server-side logic: Server Actions. What are server actions? Se...Next.js
Tapas AdhikaryforfreeCodeCampfreecodecamp.org·Oct 22, 2024How to Pass Additional Arguments to Next.js Server ActionsAsynchronous data mutation and handling is a necessary task in modern web applications. You may want to execute a standalone asynchronous function on the server to carryout tasks like saving data to the data store, sending emails, downloading PDFs, p...React
Yohan LByohanlb.hashnode.dev·Oct 16, 2024FeaturedWhen should I Use Server Action (Next.js 14)When I started working on my GeoQuiz App, I started experimenting with the new Next Server Actions. And probably like many of us, I quickly learned to love it, they felt like a clean and efficient solution for most of my server requests. But as I sta...53 likes·1.8K readsReactNext.js
Rishi Bakshirishibakshi.hashnode.dev·Oct 9, 2024The Biggest Mistake You’re Making with Next.js Server Actions: Silent ThreatOne 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...10 likesYou Don't Know Next.jsNext.js
Rishi Bakshirishibakshi.hashnode.dev·Oct 9, 2024Think Server Actions Can Only Be Used in Server Components? Think againOne common misconception in Next.js development is thinking that server actions can only be utilized within server components. However, this isn't the case. Server actions can be used inside client components as well, which allows us to interact with...You Don't Know Next.jsNext.js
Rishi Bakshirishibakshi.hashnode.dev·Oct 8, 2024Page Not Reflecting Updated Data After Mutation? Here's How to Fix ItWhen working with data mutations in Next.js, one common problem is when the page doesn’t update after adding or editing data. Imagine you’re adding a new to-do item via a server action, and even though the data is updated in the database, the changes...10 likesYou Don't Know Next.jsMutations
Rishi Bakshirishibakshi.hashnode.dev·Sep 22, 2024Data Fetching: Why Server Actions Outperform Route HandlersOne of the common beginner mistakes I’ve encountered is misunderstanding the difference between when to use route handlers and when to use server actions for data handling in Next.js. With the introduction of server actions and server components in N...1 likeYou Don't Know Next.jsserver actions
Abeer Abdul Ahadabeer.hashnode.dev·Sep 18, 2024FeaturedWhat are Server Actions in Next.js? Next.js 14 EditionWhat are Server Actions? To let you get the concept crystal clear, server actions are basically backend stuffs that you can do in your Next.js project. Server actions play a key role in web applications, handling tasks like data processing and user a...17 likes·201 readsNext.jsNext.js