🍿 Play Next Episode - The Netflix Trick Hidden in React 19.2


Hey Reader,

I’ve been diving deep into React 19.2 and Next.js 16 Beta this week, and honestly, it’s such a solid update. I have started to incorporate so many of the features in my Next.js Custom Course Platform and have seen massive improvements.

But before we jump into this week’s snack, let’s hear it from our sponsor. 👇

But before that, let's hear it from our Sponsor.

PRESENTED BY CODERABBIT AI

Most AI test tools just throw random assertions at your code and call it “coverage.”
But they don’t actually understand your project’s context - your framework, mocks, or edge cases.

That’s why I’m really impressed with CodeRabbit’s new Unit Test Generator ↗️

Instead of guessing, it analyzes your pull request and generates tests that actually fit your repo, including:

  • Edge cases and error conditions
  • Proper mocking strategies
  • Framework-specific conventions (Vitest, Next.js, MSW)
  • GitHub Actions integration that fixes CI issues automatically

The result? Tests that actually work! no boilerplate, no setup, just reliable coverage tailored to your code.

👉 It’s free to try in your CLI, install with one command 🎁


🍿 Weekly Snack: The Netflix Secret Inside React 19.2

Let’s say you’re binging your favourite show on Netflix 📺.

As you’re wrapping up the episode, you see that “Play Next Episode” button. You press the button, and boom 💥 it starts instantly.

No spinner, no buffering, no waiting around to know what happens next. That’s because Netflix quietly pre-renders what you’re about to do next.

And that’s exactly what React 19.2’s new API lets you do. Here's an example,

💡 What it does

lets you hide components without unmounting them, so they can keep running in the background but stay invisible to the user until the right moment.

Just like Netflix prepping the next episode while you finish the current one.

👉 Takeaway: Use to think ahead, render what’s next, not just what’s now. ⚡️

🚀 Latest Frontend News

Interactive UI components for MCP, check them out here

React Compiler 1.0 has shipped, it automatically optimizes components and hooks without requiring rewrites.

Next.js 16 Beta is out with many exciting features

  • Turbopack is stable
  • 3 new Caching API's
  • React Compiler enabled with a flag

You can also check out my video on summarizing it all.

React and React Native are moving from Meta to a new React Foundation, a vendor-neutral organization to manage React’s governance, infrastructure, and community initiatives independently.

ICYMI, this was last week's Frontend Snacks where we explain new feature from React 19.2 - useEffectEvent and how you can stop infinite rendering.

What does the Future of UI look like?

Vite now has a unified toolchain for the web - Vite+ unifies your entire web development workflow into a single, powerful command-line interface.

Cursor Agent Tips from Lee Rob, highly recommend

ShadCN shipped a full guide on using Forms with the new components and forms with a library of your choice.

What did you think of today’s snack? 🍿

Your feedback helps me make each issue even better, simply click on one of the links below.

💖 Love this week’s snack

👌 It’s okay

😑 You can do better



All past newsletters
can be found here.

You can email me at me@kulkarniankita.com to advertise/sponsor the newsletter. For those curious, I write all my emails using Convertkit.

Ankita Kulkarni

Join 9200+ subscribers reading by weekly personalized Newsletter that helps developers level up their skills through weekly Frontend and Leadership Snacks. You get a deep dive into a Tech topic, Actionable tips to excel in your career and a toolbox!

Read more from Ankita Kulkarni
use cache:remote

Hey Reader, I had the incredible opportunity to speak at the official Next.js Conf!. It’s been 2.5 years since I went full-time as a Tech Educator, and this moment truly feels like a milestone. In my talk, I share how I built a custom course platform using Next.js (the same one that powers Modern Full Stack Next.js Course) along with the lessons and challenges I faced along the way. If you'd like, you can watch the talk here! Weekly Snack: Caching Patterns for Dynamic Components in Next.js 🍿...

useEffectEvent

Hey Reader, This week was huge for web dev 🚀. React 19.2 just landed with fixes for some of the most annoying bugs, Sonnet 4.5 dropped with major AI upgrades, and the ecosystem feels like it’s moving faster than ever. I’ve rounded up the highlights (and why they matter) along with this week’s Snack for you below 👇 But before that, let's hear it from our Sponsor. PRESENTED BY CODERABBIT AI Most AI code reviewers feel shallow, they look at syntax, patterns, maybe a guideline or two, but they...

use-cache

Hey Reader, I’ve got some fun news to share 🎉 I’m beyond excited to share that I’ll be speaking at the official Next.js Conf 💖. I’m one of the featured speakers (!!) and would love for you to join me. My talk is called:“Build. Scale. Teach: Architecting and Scaling a Production-Ready Modern Course Platform with Next.js” Make sure to sign up here and come hang out during my sessions 🚀 And... I finally made the move to Italy 🇮🇹. Back in 2019 I almost moved to Europe, but the world had other...