dave.js

@davejs.dev

design engineer click-clacking on keyboards davejs.dev

Seeing a lot of hype/controversy around TOON. I’ve noticed a strong correlation between those dismissing TOON and having #opentowork on their LinkedIn. Hot take: It’s too early to evaluate the long-term utility of TOON. Those not giving it a chance now are just cosplaying as pragmatic engineers.

Bild

I don't think there's a single release from GitHub Universe that doesn't involve AI 🤖 Shoving AI into every feature seems like a waste of compute for the value gained.

Hot take: Modals suck. What's the point of partially obscuring content? Just make a choice: either expand the modal content inline OR display it in a standalone view. #ux #design

I often wonder about the bias of tech entrepreneurs towards only solving problems in tech. There’s such an over-saturation of companies building CMSs, productivity apps, DB-as-service, auth-as-service, etc. meanwhile it’s rare to find great software products for customers outside of tech.

Gleam sponsorship has dropped in the last 2 months. We are free of any corporate control, but this means sponsorship is vital to pay the core team! Please consider sponsoring Gleam, or any of the maintainers. Just a few dollars a month makes a difference.

As a tailwind hater, the biggest thing pushing me towards using @tailwindcss.com is how well AI agents are trained on it. It’s allowed me to do so many refactors on a massive spaghetti code frontend that wouldn’t have been worth my time otherwise. #css

How regularly do you contemplate leaving the tech industry and living in the woods like a hermit? For me it's about once a year. I feel like that's a healthy amount. 🙂

I love using data attributes as modifiers in #CSS. Been using this pattern for 5+ years and haven't seen it emerge anywhere else.

Code snippet showing CSS with a menu class with display set to none and a nested selector for a data-is-open attribute with display set to block. A new code snippter showing a menu component in React with a state for isOpen, a menu button which toggles the state and a nav element which has the menu class and a data-is-open attribute which is set by the isOpen state value.

With that in mind though, #tailwind does do a great job with managing themes. Also, some of the utility classes are nice like `truncate` and `line-clamp`.

dave.js@davejs.dev · 2y ago

A year into using #tailwind and I'm still not convinced it's better than CSS-in-JS solutions that transpile to #CSS. 1. CSS Grid is confusing in Tailwind. 2. I still hate the cluttered DOM. So much horizontal scrolling! 3. Yes, naming is hard, but the added context has value!

A year into using #tailwind and I'm still not convinced it's better than CSS-in-JS solutions that transpile to #CSS. 1. CSS Grid is confusing in Tailwind. 2. I still hate the cluttered DOM. So much horizontal scrolling! 3. Yes, naming is hard, but the added context has value!