RD#497 A Guide to Performance Optimization with Next.js
A Guide to Performance Optimization with Next.js
19 minutes by Cory Miller
Find out why performance matters for your website, what common Next.js performance issues are, and what you can do to fix them. Cory covers practical techniques including proper image handling with next/image, optimizing third-party scripts, using Suspense for improved loading experiences, and choosing appropriate rendering methods based on content needs.
Bit: Open source framework for composable software
sponsored by bit
A build system framework for development of composable software. Natively to Harmony, and support for NodeJS, React apps (with Vite), NextJS, Angular, Vue and more. Bit enables teams to build, manage, and maintain their own applications and components.
Server Actions with Toast (useEffect)
8 minutes by Robin Wieruch
This tutorial explains how to implement toast notifications for React Server Actions using the useActionState Hook and useEffect. The approach involves returning a response object from server actions that includes a timestamp to prevent displaying outdated notifications, tracking state changes with useRef to avoid duplicate toasts, and handling different notification types.
Beyond React.memo: Smarter Ways to Optimize Performance
6 minutes by Christian Ekrem
This article challenges the common practice of defaulting to React.memo for performance optimization, suggesting more elegant alternatives based on composition. Christian explains that understanding React's rendering model is key—components re-render when their parent re-renders, not just when props change. Two primary patterns are recommended: "moving state down" by isolating state to smaller components, and using "children as props" to prevent unnecessary re-renders.
Building APIs with Next.js
10 minutes by Lee Robinson
This comprehensive guide walks developers through building APIs with Next.js, covering everything from initial setup to deployment. The guide explains when to create API endpoints versus using Server Components for direct data fetching, and includes deployment considerations for both standard Node.js and static export scenarios.
How The New York Times migrated from Enzyme into React Testing Library
8 minutes by The NYT Open Team
After evaluating three possible approaches (bulldozer, consensus, and piecemeal), they chose the piecemeal method, which involved updating individual files strategically starting with the simplest cases. This approach allowed them to build momentum, minimize disruption, and foster collaboration among engineers by establishing clear patterns that others could follow, ultimately enabling them to balance the migration with ongoing development priorities.
Syntax Podcast: A 10x Faster TypeScript
sponsored by Sentry
The compiler is being ported to Go, should become 10x and land in TS 7.0. Learn more in this Syntax.fm podcast interview with Anders Hejlsberg, notably why they choose to use Go over Rust. Watch here.
webdev
- The CSS :not() pseudo-class
- Cool native HTML elements you should already be using
- CSS relative colours
javascript
And the most popular article from the last issue was:
newsletters
Would you like to advertise in the newsletter? Check out our media kit and get in touch.

Older messages
RD#496 Signals in React?
Sunday, March 9, 2025
Not a good idea according to Filipe ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
RD#495 Functional programming in React
Sunday, March 2, 2025
First-class functions, pure functions, immutability, currying and composition
RD#494 Sunsetting Create React App
Thursday, February 27, 2025
🫡
RD#488 How to avoid issues with custom Hooks
Sunday, January 12, 2025
Using them carelessly can lead to many problems
RD#487 Instance Hook Pattern
Sunday, January 5, 2025
co-located logic and controlled API
You Might Also Like
📱 I Wish More Companies Made Phones This Bonkers — How to Check the Age of Your Hard Drive
Tuesday, March 18, 2025
Also: The 10 Best Apple TV+ Shows You're Missing Out On, and More! How-To Geek Logo March 12, 2025 Did You Know The weekday that falls most frequently on the 13th day of the month in the Gregorian
Tomorrow's Photo Management Class: How to sign up!
Tuesday, March 18, 2025
[Attention: Our final free class on photo management is happening tomorrow! This is your last chance to sign up. Register now.] Open your Photos app. What do you see? Thousands of random pictures?
The Sequence Engineering #508: AGNTCY, the Agentic Framework that Brought LangChain and LlamaIndex Together
Tuesday, March 18, 2025
The new framework outlines the foundation for the internet of agents. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
URGENT: Microsoft Patches 57 Security Flaws, Including 6 Actively Exploited Zero-Days
Tuesday, March 18, 2025
THN Daily Updates Newsletter cover ⚡ LIVE WEBINAR ➟ ASPM: The Future of AppSec -- Boom or Bust? Discover How ASPM is Redefining Application Security with Smarter, Unified Solutions. Download Now
⚙️ Making AI for coding work
Tuesday, March 18, 2025
Plus: New self-driving data
Post from Syncfusion Blogs on 03/12/2025
Tuesday, March 18, 2025
New blogs from Syncfusion ® Sneak Peek at .NET MAUI: 2025 Volume 1 By Paul Anderson Let's explore the new features and enhancements that will be added in the Syncfusion .NET MAUI suite for the
AI agents are changing work 🤖
Tuesday, March 18, 2025
Windows vs. M4 MacBook Air; VPN tips; Metallica on Vision Pro -- ZDNET ZDNET Tech Today - US March 12, 2025 person walking to work AI agents aren't just assistants: How they're changing the
Interested in a tailored threat briefing for you and your team?
Tuesday, March 18, 2025
Learn from expert identity attack researchers and creators of the SaaS attacks matrix ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Biome vs. Prettier & ESLint; ESLint flat config improvements; returning from async functions;
Tuesday, March 18, 2025
We have 6 links for you - the latest on JavaScript and tools Is Biome ready to replace Prettier & ESLint? medium.com ESLint: Evolving flat config with extends eslint.org @nzakas@fosstodon.org @
What is a HoundDog(.ai)?
Tuesday, March 18, 2025
Still waiting to hear back from HoundDog… if you have an in, please reach out and let them know I want them on the show!! Until then… Stop PII Leak Detection in the Code! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏