VOOZH about

URL: https://thenewstack.io/tailwind-css-gets-a-ground-up-rewrite-for-version-4-0/

⇱ Tailwind CSS Gets a ‘Ground-Up Rewrite’ for Version 4.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
2025-01-25 06:00:43
Tailwind CSS Gets a ‘Ground-Up Rewrite’ for Version 4.0
Developer tools / Frontend Development / JavaScript

Tailwind CSS Gets a ‘Ground-Up Rewrite’ for Version 4.0

In other Dev News, study finds only 16% of orgs have a standardized developer environment, a Bun update, and JavaScript's Temporal object.
Jan 25th, 2025 6:00am by Loraine Lawson and Lawrence E Hecht
👁 Featued image for: Tailwind CSS Gets a ‘Ground-Up Rewrite’ for Version 4.0

“Holy shit it’s actually done — we just tagged Tailwind CSS v4.0,” Tailwind CSS creator Adam Wathan wrote Tuesday.

It’s an understandable reaction, when you consider that this release is a ground-up rewrite of the framework. The Tailwind team took “everything we’ve learned about the architecture over the years and optimizing it to be as fast as possible,” Wathan wrote.

First, there’s the new Rust-powered performance engine — called Oxide at one point — that was incorporated into this release. It makes both full and incremental builds faster, according to Wathan.

“When benchmarking it on our own projects, we’ve found full rebuilds to be over 3.5x faster, and incremental builds to be over 8x faster,” he wrote. “The most impressive improvement is on incremental builds that don’t actually need to compile any new CSS — these builds are over 100x faster and complete in microseconds.”

But that’s not all. Wathan notes that Tailwind CSS v4.0 also incorporates cutting-edge CSS features, such as:

  • Native cascade layers, which he says provides more control over how different style rules interact with each other;
  • Registered custom properties, which makes possible things like animate gradients, but also improves performance significantly on large pages;
  • color-mix(), which lets developers adjust the opacity of any color value, including CSS variables and currentColor; and
  • Logical properties that simplify RTL support and reduce the size of generated CSS.

Medium frontend writer Xiuer Old was one of many frontend devs who offered a positive review of the new release.

“Tailwind CSS 4.0 isn’t just an update — it’s a reimagining of what a CSS framework can be,” Old wrote. “By blending raw performance with modern CSS capabilities and a frictionless setup, it empowers developers to build faster and more creatively.”

16% of Orgs Have Standardized Developer Environment

Seventy-nine percent of more than 550 software professionals surveyed use a fully managed cloud-hosted developer environment, according to the SlashData’s for Coder’s State of Development Environments 2025 report. Yet, the same study found that 84% of respondents said their organization does not rely on one standardized development environment tool.

The disconnect is because choices about what developer environment to use are sometimes made at the organizational level, while at other times, decisions occur at the team or individual level.

Still, a majority of organizations do have common development workflows or standards.

All study participants worked at large companies (either 100 developers or 1,000 employees) that either used or provided development environments. Notably, only 27% are primarily in a developer role, while the rest were in IT leadership and management roles.

Only 36% of these developers said their organization allows developers to have full control over their development environments.

By comparison, 52% of the administrators/leaders reported that they were in full control of their development environments. Furthermore, administrators are more likely to be positive about their environment’s governance and configurations.

Only 36% of these developers said their organization allows developers to have full control over their development environments.

Currently, only 13% are able to independently create a new environment with an automated system. While others have standardized processors to independently create a new environment, 45% must get prior approval from a manager or IT or at least coordinate with another team/department beforehand.

Looking towards the future, a full 78% of study participants plan to work on more standardization of developer environments in the next year. Overall, 42% of these organizations expect to rely on internal platform or DevOps teams for this standardization.

Lawrence Hecht, a research analyst with The New Stack, predicted that developers may be less than thrilled with the progress of these efforts if they continue to have a significantly different outlook than the professionals they rely on to manage and provision these environments.

Bun 1.2 Called ‘Huge Update’

Bun released version 1.2, which Ashcon Partovi, a product manager at Bun, called a “huge update.”

Bun is designed to be a drop-in replacement for Node.js, but that’s not as easy as it sounds. In a blog post, Partovi outlines how they prioritized and fixed Node.js bugs. With Bun 1.2, they decided to run the Node.js test suite for every change made to Bun.

“Since then, we’ve fixed thousands of bugs and the following Node.js modules now pass over 90% of their tests with Bun,” Partovi wrote.

Bun 1.2 also adds built-in support for S3, the de facto standard for object storage in the cloud. This support allows developers to read, write and delete files from an S3 bucket using APIs that are compatible with Web standards such as Blob.

There’s also a built-in Postgres client: Bun.sql. MySQL is coming soon, Partovi added.

bun install now uses a text-based lockfile: bun.lock and Express is three times faster in Bun, Partovi noted.

JavaScript Temporal Sees Experimental Browser Releases

Working with dates in JavaScript can be “hugely simplified and modernized” by browser implementations of the new JavaScript Temporal object, according to Brian Smith, a staff technical writer on the MDN Web Docs team at Mozilla.

Smith explored the JavaScript Temporal object in a recent article. First, he explained the role of JavaScript’s Data object, which goes back to the beginning of JavaScript and was copied from Java’s early flawed java.until.Date implementation, he wrote.

“Java replaced this implementation in 1997, but JavaScript is stuck with the same API for almost 30 years, despite known problems,” Smith explained.

“Temporal adds support for time zone and calendar representations, many built-in methods for conversions, comparisons and computations, formatting, and more.”
– Brian Smith, staff technical writer, Mozilla MDN Web Docs

The big issue with this approach is that it only supports the user’s local time and UTC, so there is no time zone support.

“Additionally, its parsing behavior is very unreliable, and Date itself is mutable, which can introduce hard-to-trace bugs,” he wrote. “There are other problems like calculations across Daylight Saving Time (DST) and historical calendar changes, which are notoriously difficult to work with.”

All of which makes it kind of a headache to work with, leaving developers to rely on libraries like Moment.js and date-fns to handle dates and times in applications, he concluded.

Temporal replaces the Data object and it does so in a way that makes date and time management reliable and predictable.

“Temporal adds support for time zone and calendar representations, many built-in methods for conversions, comparisons and computations, formatting, and more,” he wrote. “The API surface has over 200 utility methods, and you can find information about all of them in the Temporal docs on MDN.”

In the remainder of the article, he explained more about how Temporal object works with code examples and explored browser support.

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
Lawrence has generated actionable insights and reports about enterprise IT B2B markets and technology policy issues for over 25 years. He regularly works with clients to develop and analyze studies about open source ecosystems. In addition to his consulting work,...
Read more from Lawrence E Hecht
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.