VOOZH about

URL: https://thenewstack.io/react-compiler-is-coming/

⇱ React Compiler Is Coming - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-08-02 07:00:16
React Compiler Is Coming
Frontend Development / JavaScript

React Compiler Is Coming

In other developer news, Vite overtakes webpack in downloads, Angular adds support for animation, and a web migration off Next.js to Eleventy.
Aug 2nd, 2025 7:00am by Loraine Lawson
👁 Featued image for: React Compiler Is Coming

React compiler is coming, according to Bytes.dev, which recently explored why React needs a compiler in the first place. The post came after React issued new documentation about the compiler.

“React’s default model is to re-render every time a state change occurs, but sometimes, you want to opt out of this behavior to improve performance,” Bytes wrote.

The post added that traditionally, this requires adding manual memoization. That works, but it’s “tedious, brittle and annoying to maintain,” the post continued.

The new documentation states that the React compiler will automatically add a more precise, fine-grained memoization than what a developer can do manually. The post compares manually coding this versus using the React compiler to do it.

“The good news is that React Compiler has already produced some significant performance gains and DX wins for various Meta apps,” the post concluded.

Vite Overtakes Webpack in Downloads

Vite, the build tool and development server, has surpassed webpack, a static module bundler for JavaScript applications, in downloads, according to a tweet by Vite and Vue creator Evan You.

“This just happened 👀” wrote You, sharing a graph that reveals Vite and webpack on a mostly parallel track, following a similar pattern of downloads, for the past year.

But starting on July 22, Vite overtook webpack by almost 500,000 downloads.

Vite is a modern, next-generation build tool and development server designed for speed and efficiency in web development. It’s particularly used with frameworks like Vue, React and Svelte. Vite leverages native ES modules during development to provide a fast development server and hot module replacement (HMR). Vite uses Rollup to create production-ready bundles.

Webpack is a static module bundler for modern JavaScript applications. Its primary function is to process an application’s modules and assets — such as JavaScript files, CSS files and images — and package them into one or more optimized bundles for deployment.

Eleventy vs. Next.js: A Mini-Case Study

Etch, a UK-based web consultancy, recently published the story of its site migration off Next.js and onto Eleventy, a static site generator written in JavaScript.

The move improved site performance by 24%, according to Etch full-stack developer Dan Webb, who offers a graph comparing the site on Eleventy versus Next.js. He found that the homepage was cut from 2,161 KB to 11.3 KB, with the file count reduced from 33 to 2. Overall lines of code went from 6,877 to 4,307. The biggest change, though, was in NPM dependency count, which went from 1,115 to 13.

Eleventy (11ty) doesn’t have some special performance-enhancing feature or a magic syntax that massively reduces lines of code,” he wrote. “Instead, it provides the minimalistic set of tools to template some HTML, bundle some CSS and lastly sprinkle JavaScript in the few places it’s needed. Then, it gets completely out the way and lets the browser do the rest.”

Webb said Eleventy’s two biggest strengths are:

  • A clear separation between build and browser. It’s build-time only, Webb wrote, which means it’s not going to ship extra code to the browser after the build.
  • Stability. “In busy periods where we’re focused on our clients we don’t want to spend what time we do have on our site fixing incoming breaking changes from dependencies,” he wrote. “11ty has only had 3 major version changes since 2018.”

That said, he found the developer experience wasn’t the best and it required extra work sometimes to achieve parity with Next.js features that are out-of-the-box or supported with plug-ins.

“…we could have achieved similar performance gains with Next.js, but it would have required gymnastics like running bundle analyzers and tweaking routing methods,” he wrote. “In choosing 11ty we accepted that Next.js is built for bigger problems than our little static content site has, so we opted for subtraction rather than addition.”

Angular’s Update Includes Animation Features

Angular v.20.2.0-next.2 was released last week. Among the updates was a new native API that helps with animations, according to frontend developer Netanel Basal.

The updates include animate.enter and animate.leave features. They provide a declarative way to apply CSS animations directly to elements, according to Basal.

While Angular has long had @angular/animations, that package is now outdated, Basal wrote, adding about 60kb of JavaScript. He added that popular third-party animation libraries are hard to integrate with Angular. The new API promises a lighter animation API, particularly for enter and leave animations.

“The new animate.enter and animate.leave features represent a significant step forward in making Angular animations more accessible and developer-friendly,” Basal said. “By removing the complexity of traditional animation setup while maintaining full control over the visual effects, these features make it easier than ever to create polished, animated user interfaces.”

He explained how the animations work and includes guidance for using the new features.

In April, React also added a new experimental animation feature.

Devographics Releases State of HTML Survey

Devographics is seeking web developers to respond to its State of HTML survey, which runs from July 15 to August 15, 2025. This year, the survey added 35 new features, and introduced two new sections: Graphics & Multimedia and Performance.

It should take around 10-15 minutes to complete, although developers don’t have to answer all the questions. The survey results will be released around Sept. 15, 2025.

TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.