-
New Sep 10, 2024
Search Params in Next.js for URL State
How to use Search Params in Next with useSearchParams und SearchParams from React Server Components and Client Components for URL state...
-
New Aug 20, 2024
React is (becoming) a Full-Stack Framework
React with Server Components and Server Actions is becoming a full-stack framework. This article reflects on the evolution of React and its impact on full-stack development...
-
New Jul 22, 2024
Data Fetching with Server Actions in Next.js
Can I fetch data with Server Actions in Next.js? There are different ways to fetch data. Normally Server Actions are used to mutate data, but...
-
New Jul 15, 2024
React Form Button
Learn how to trigger a server action with a form button without using a Client Component in React...
-
New Jul 2, 2024
Extra Arguments for Server Actions in React Forms
Learn how to pass extra arguments to server actions in React forms (or Next.js forms) using hidden form fields or binding the arguments to the server action...
-
New Jun 24, 2024
JavaScript Rounding Errors (in Financial Applications)
Learn about rounding errors in JavaScript and how to avoid them in financial applications. Why is 0.1 + 0.2 not equal to 0.3 in JavaScript when working with floating-point...
-
Jun 17, 2024
React Form with Loading State (Pending Action)
Learn how to add a loading state to React forms when using actions. Show a loading spinner while the form is submitting...