👀 Dropdown component coming together nicely for
@tailwindui
. A bunch of accessibility features, mouse interactions and keyboard navigation. What do you think?
🎉 Super excited to announce that after almost 900 job applications, dozens of interviews, and hours of pair programming sessions, today is
@malfaitrobin
's first day at
@tailwindlabs
!
I wrote more about Robin and the process we used to find him here 👉
I saw this tweet by
@firstdrafthell
and got really excited, so started playing with my own version in JavaScript. I'll add more tweets to this thread when I have more improvements / features.
And this is the updated (fake) C# compiler error report. Still need some work, for example, collapsing white space and displaying context around lines.
Last week we had a nice breakthrough when working on performance, and now this work has been published!
For some context:
Using v3 we had rebuilds of ~80ms on the codebase.
Using v4 alpha, we had rebuilds of ~40ms. Twice as fast, but we could do better.…
Experimenting with implementing our JIT algorithms in Rust to see how the performance would change 🤔 would be hard to do and support a JS-based plugin ecosystem but curious anyways... let's take a quick look!
Just made a little alias for my terminal
shush() {
eval "$@ &>/dev/null"
}
Because I was interested in the execution time, not in all the overwhelming output.
@roelvangils
@YvesHanoulle
And if you are used to working with a terminal:
`find . -type d -name "node_modules" -exec touch "{}/.metadata_never_index" \;` It will create that file for all node_modules folders.
Saw this post this morning and it's fun to see that we use similar tricks like this to make Tailwind CSS v4 so fast. Especially the "avoid work" part, if you don't have to do the work, don't do it (warning: this can be the hard part).
I also noticed that a lot of people think…
@rauschma
I use a and z as variables. Makes the mental model a bit easier for me.
a - z (ascending)
z - a (descending)
I think I first saw it in a tweet by
@DavidKPiano
🤔
🚀 It's still early, but we tagged the first releases of Headless UI for React and Vue!
We're starting with a Menu Button (or dropdown for you common folk 😤), with new components coming every few weeks 🤩
Incredible work by
@malfaitrobin
on this one 👏
🚀 We just shipped React + Vue support for Tailwind UI!
Every component now includes fully functional, accessible examples for both React 16 and Vue 3 🥳
This whole project has been almost a year in the making — so stoked it's finally ready to share 🤩
✨ We're hiring a Design Engineer and Staff Software Engineer to work on some ambitious new projects with us at
@tailwindcss
.
🏕️ Fully remote
💰 $275,000 USD
@kadikraman
~/github.com then by user, then by repo.
E.g.: ~/github.com/tailwindlabs/tailwindcss
I also hide the ~/ part in my terminal so it looks like a link.
@adamdotdev
I'm sure you know this, but all elements with an id are global 😎, so you can access them directly on the `window` object.
`document.getElementById("foo") === ` or even just `foo`
Maybe don't do this though 😅
@jlengstorf
I love this! I have this in starship.toml:
[directory.substitutions]
"~/github.com/" = ""
I also have all git repo's in a github/{user}/{repo} folder. Here is the best part, I can "click" the folder to go to GitHub!
Here is a fun update. This is purely the diagnostics printer, so what if we could feed it with real data? I used tsserver. Here is default tsc (first) vs mine (second). We can also group them by the error code (third).
🚀 We released the very first version of `tailwindui/react` this week!
It introduces a utility-friendly <Transition> component, so you can easily style enter/leave transitions with utility classes in React, just like you can in Vue 🙌
Check it out!
@wesbos
I used to use `type` (It's TypeScript and not InterfaceScript after all...) however, the TS team says that `interface` is faster and produces cleaner/better errors. Source:
@johnny_reilly
@robpalmer2
Honestly, my take is that it should really just be interfaces for anything that they can model. There is no benefit to type aliases when there are so many issues around display/perf.
Everyone keeps asking for variant-grouping in Tailwind so
@malfaitrobin
took a stab at it today...
Took something like 20 lines of actual code — great feeling when that happens because it proves your existing system was a really accurate model of the problem 💪
🥳 Excited to finally release Tailwind UI Ecommerce!
🧁 Over 100 new components
🍨 14 new component categories
🍰 7 new page example categories
Shopping carts, checkout forms, product pages, order summaries — it's an ecommerce extravaganza 🙌🏻
We just released our first set of official Tailwind CSS site templates! 🥳
Beautifully designed, expertly crafted Next.js projects, built exactly the way we'd build them for production.
And it's a free update for existing Tailwind UI customers ✨
Excited to share that official React + Vue support is coming to Tailwind UI! 🙌
We'll be sending out behind-the-scenes progress updates and news about the inevitable release, can sign up here if that sounds exciting to you 🥳
Just thought to compare Tailwind CSS v3 and v4 incremental build performance with minification enabled for the first time today.
Literally over 800x faster in some cases 😂
@aarondfrancis
I wrote a `nerdmode` script that I can pass any command to. E.g.: `nerdmode npm run test`. While it's running, my lights turn blue, when tests pass the lights turn green, when tests fail, the lights turn red. After 5seconds, they reset. 🤓
The work
@bradlc
and
@malfaitrobin
have been doing to support popular JS frameworks in Tailwind UI is truly wild 🤯
They've come up with a custom authoring format that we parse with PostHTML and render to different targets using custom renderers and it's 👌
Can't wait to ship!
@alxrblm
@tailwindcss
There have been a few so far. Doing too much work. Doing work that is not necessary at all. I've been using some flamegraphs to detect the bottlenecks in the hot path! Here is a Draft PR for more info:
A few more improvements, the line of an "issue" has a red box in front. We can also render multiple diagnostics with the correct color. "Notes" get their own section at the bottom.