Ernesto Ramírez retweeted
I swear we didn't plan this, but just today, we finally NUKED our entire AWS account at the 37signals company meetup! This followed moving out compute+dbs in 2023, then S3 this summer, and now finally the entire account is GONE 🎉
Ernesto Ramírez retweeted
STOP EMAILING ME CODES, STOP TEXTING ME THINGS
LET ME ENTER A PASSWORD, 2FA AND OR PASSKEY
Ernesto Ramírez retweeted
✨ Tailwind CSS v4.0 is here!
Huge performance improvements, radically simplified setup experience, CSS-first configuration, modernized P3 color palette, container queries, 3D transforms, expanded gradient APIs, @starting-style support…
…and tons, tons more.
Ernesto Ramírez retweeted
TIL you can do "multi zone" in Next.js
basically independent Next.js apps running on a route
/ -> main app
/docs -> docs next.js app
Ernesto Ramírez retweeted
I wanted to share the following 10 Tailwind techniques. These will come in handy next week.
For those who don’t use Tailwind, here be dragons!
1/10 - Let’s start simple. Set a CSS variable (width) based on state and use an arbitrary className.
Ernesto Ramírez retweeted
If you need truly dynamic styles with Tailwind, the pattern I always reach for is setting a CSS variable dynamically as an inline style, and referencing that CSS variable with a static class.
This is easy for Tailwind to statically analyze, and produces less CSS too.
Ernesto Ramírez retweeted
The worst kind of bug is the one that’s rare and seemingly goes away on its own, but whose enigma lingers on in the back of your head for the rest of eternity.
Ernesto Ramírez retweeted
scrum and soccer are very similar
90 minutes of running around and sometimes something happens
Ernesto Ramírez retweeted
for anyone still worrying about Devin and their job, Devin's company is still actively hiring software engineers despite "the first ai software engineer"
sorry, human software engineer, definitely not lizards
Ernesto Ramírez retweeted
components / hooks / types / utils (and constants) is the split I'm seeing in many codebases, yet it's the one I dislike the most. It groups by type, not by domain. "useTheme" will live next to "useTodo", but not next to ThemeProvider ... why?
Ernesto Ramírez retweeted
🎬 Today, I'm sharing with you some of my favorite tips to help you write better test names in JavaScript.
The link to the video is in the first reply 👇
Ernesto Ramírez retweeted
I can’t stress how much this is a not-good idea: csswizardry.com/2023/10/the-…
ONCE #1 is completely #NoBuild for the front-end. No bundling, no transpiling, no nothing. Just individual, vanilla CSS and JavaScripts served over HTTP/2. It's amazingly light and amazingly fast with exquisite cache expiration dynamics. Bliss to develop for too!
Ernesto Ramírez retweeted
CSS Tip! 📜
You can create scroll-driven micro-interactions with animation-timeline and custom properties 🔥
.search {
animation: shrink;
animation-timeline: scroll();
animation-range: 0 calc(var(--header-height) * 0.5);
}
@keyframes shrink {
to { width: calc(100% - var(--button-size); }
}
The --header-height is being used to dictate the container height for the header. You can use that for the animation-range used across different scroll animations 🤙
For another example, you can animate the box-shadow reveal on the header once the search has stuck 🍡
header {
animation: shadow;
animation-timeline: scroll();
animation-range:
var(--header-height)
calc(var(--header-height) * 1.5);
}
@keyframes shadow {
to { box-shadow: 0 5px 10px hsl(0 0% 0%); }
}
Then you have the little extras! 🧸🎈
Everything powered by the scroll() animation-timeline which hooks into the page scroll. And then using the --header-height in the different animation-range ✨
Give it a try! ⭐️
@CodePen link below! 👇
Ernesto Ramírez retweeted
React Aria Components has reached RC! 🚀
• Built-in form validation
↳ Native HTML constraints
↳ Custom validation functions
↳ Server validation – designed for React Server Actions
• New Toolbar component
• Improved Framer Motion support
• Hover events
• Simpler docs CSS

ALT React Aria Components RC banner showing built-in form validation and new toolbar component. The form has email and password fields and a checkbox labeled "I agree to the terms of service". The email field is marked invalid with a message "An account with this email already exists" under it, and the checkbox is not checked with an error "You must agree to the terms of service. Sign up and Log in buttons are below the form. The toolbar component includes a group of buttons representing text formatting controls including bold, italic, underline, and left, center, right, and justified alignments, as well as a dropdown menu containing cut, copy, and paste actions. One of the buttons has a focus ring.





















