VOOZH about

URL: https://thenewstack.io/from-react-to-html-first-microsoft-edge-debuts-webui-2-0/

⇱ From React to HTML-First: Microsoft Edge Debuts 'WebUI 2.0' - 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
2024-05-30 09:31:43
From React to HTML-First: Microsoft Edge Debuts 'WebUI 2.0'
Frontend Development / JavaScript

From React to HTML-First: Microsoft Edge Debuts ‘WebUI 2.0’

Gmail changed the web platform in 2004 — are we about to see a similar shift thanks to Microsoft Edge? And this time, with less JavaScript.
May 30th, 2024 9:31am by Richard MacManus
👁 Featued image for: From React to HTML-First: Microsoft Edge Debuts ‘WebUI 2.0’
Photo by Shubham Dhage on Unsplash.

Twenty years ago, browser-based applications — web apps — made a giant leap in functionality. In April 2004, Google launched one of the first web apps that worked just like a native app: Gmail. The technology behind it, a JavaScript technique that would later be termed “Ajax” (Asynchronous JavaScript and XML), allowed web apps to send and retrieve data from a server asynchronously — meaning without the user needing to reload the web page.

Suddenly, the 2004 internet was much more interactive. Gmail’s use of Ajax enabled instant loading of emails and real-time search. Other web apps quickly followed suit — Flickr, Bloglines and Basecamp among them. Later, Facebook used Ajax to submit and retrieve comments and likes asynchronously, allowing these actions to update immediately on the page without a full reload. It was magical and it allowed the “web as platform” (a.k.a. Web 2.0) to blossom over the next ten years.

What Happens When You Double Down on JavaScript

But then a curious thing happened. From roughly 2014 till now, developers doubled down on JavaScript — you can’t have too much of a good thing, right? So web apps became more complex, especially after the introduction of new JavaScript libraries like React (which debuted in 2013) and associated frameworks like Next.js (2016). While this undoubtedly helped web apps scale and do even more magical things with the user interface, it also increased the amount of JavaScript being processed on user devices. Which also increased the maintenance burden for developers.

The JavaScript ecosystem had gotten too big for its boots, and prominent members of the web community began calling for a return to web platform basics. I’ve been reporting on this phenomenon over the past few years, but up till now I hadn’t seen a web app (of scale, at least) that epitomized the “back to basics” push.

But perhaps I’ve found it now, with the latest upgrade to Microsoft’s web browser, the Chromium-based Edge. It caught my eye this week for a couple of reasons. One, it has reduced its reliance on React; and two, it has increased its use of Web Components, an HTML-first approach to web development.

“…moving away from React to a modern Web Components + HTML-first architecture has had a *huge* benefit for users.”
– Alex Russell, partner product manager on Edge

How Has Edge Reduced Its React Code?

Microsoft’s blog post about the new Edge (version 122) doesn’t actually mention React. Instead, it focuses on what the user will experience: faster speeds. The company put it this way:

“Starting with Edge 122, the Browser Essentials UI is now much more responsive. The UI is now 42% faster for Edge users and a whopping 76% faster for those of you on a device without an SSD or with less than 8GB RAM!”

But Microsoft’s Alex Russell, a partner product manager on Edge (and before that, one of the creators of Web Components), confirmed the development details on Mastodon:

“We build a *lot* of the browser out of web “stuff” these days (think bookmarks, history, downloads, settings, new-tab-page, etc.), and moving away from React to a modern Web Components + HTML-first architecture has had a *huge* benefit for users, particularly folks on low-end hardware.”

In effect, this means that less of the user interface in Edge is being rendered with JavaScript code. Less JavaScript means a smaller footprint, which translates to faster web experiences for users. Microsoft did a short video to demonstrate the speed differences:

“WebUI 2.0” is the new UI mechanism for Edge, and it was noticeably faster in this demonstration.

Note that at this stage, only certain aspects of the Edge UI have undergone this change. In reply to a Mastodon user who asked about this, Russell confirmed that it is “an ongoing effort” and that the Edge team is “converting surface-by-surface, with ~15% fully done so far.”

You may also be wondering why a browser was using React in the first place. It’s because a lot of the UI in browsers is, basically, web pages. And it seems that the major browsers all went down the React rabbit hole during the past ten years, just like everyone else. So features like the “Browser essentials” screen (shown in the video) or your browser Favorites — those are rendered as web pages. Microsoft says that other Edge features, like “history, downloads, wallet and more,” will also be converted to “WebUI 2.0” in the coming months.

The Origins of WebUI 2.0

In its blog post, the Microsoft Edge team recognizes that modern JavaScript frameworks are good in some ways — developer productivity is specifically mentioned. But when they looked closer, they found that the cost of that dev experience was relatively slow browser speeds for end users. The finger was pointed at recent web developer trends:

“A lot of our code was using a framework that relied on JavaScript to render the UI. This is referred to as client-side rendering, which has been a popular trend amongst web developers over the past decade because it helped web developers be more productive and enabled more dynamic UI experiences.

So they asked themselves, “How fast could we make things if we removed that framework and built our UI just by using the web platform?”

“We hope that more websites start moving in this direction of markup-first, small bundles, and less UI-rendering JavaScript code.”
— Microsoft Edge team

This resulted in WebUI 2.0, “an entirely new markup-first architecture that minimizes the size of our bundles of code, and the amount of JavaScript code that runs during the initialization path of the UI.”

This resulted in a more modular architecture that relies on “a repository of web components that are tuned for performance on modern web engines.”

The team adds, “We hope that more websites start moving in this direction of markup-first, small bundles, and less UI-rendering JavaScript code.”

A Gmail Moment for 2024?

I admit, comparing the latest version of Edge to what Gmail did in 2004 may be overstating it. But it’s potentially very significant given the large potential user base of Edge — all Windows PCs encourage you to use Edge (although of course, given past legal judgements, it cannot be the default browser).

If the new HTML-first approach of Edge encourages similar projects from other companies and startups, then we may have the start of a new web development movement on our hands. For many in the web developer community, a shift to markup-first/JavaScript-second would be a welcome one.

TRENDING STORIES
Richard MacManus is a Senior Editor at The New Stack and writes about web and application development trends. Previously he founded ReadWriteWeb in 2003 and built it into one of the world’s most influential technology news sites. From the early...
Read more from Richard MacManus
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Moment.
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.