As you may already know, Tailwind upgraded to version 4 recently. While doing so, they have decided to revamp the Tailwind toolchain. This change was incredibly frustrating for me since I’ve had to make a lot of changes to patch the breaking changes they introduced. So I ranted a bit in today’s article. A little rant about breaking changes. You can read more about my thoughts in the article above, but I just wanna say that most breaking changes don’t warrant enough UX or DX improvements to make them worth it. Now, after playing with Tailwind 4 (and making those incredibly tough and heartbreaking changes), I think the changes I'm forced to go through are worth it — Splendid Labz is now at a much better place than where I found it previously. I hope to write more about these changes and help you ease into the new version as much as I can. Hope you enjoy the article. |
New article just dropped on CSS Tricks 😉. This one is about improving the Resize Observer API so it becomes much easier to use. So you go from this: To this: Hope you have fun reading through this one. I have one more article on improving the Mutation Observer and Intersection Observer in the same style coming up next week 🙂.
If you’ve never heard of zlFetch before, it’s a library that I’ve created that helps you with the Fetch API. It provides a ton of quality of life improvements like: Automatic response solution (so no need to use response.json) Promise-like error handling Usage with await easily Simple Basic and Token based authentication headers And a ton of other things Just my personal opinion: It’s better than axios cos it’s less complicated It’s better than ky cos it has better defaults Last Sunday, I sat...
I’m happy to announce that I am working on a new course — Unorthodox Tailwind. This course shows you how to use Tailwind and CSS in a synergistic manner. This is a great course to take if you have been wondering: How to use the best parts of Tailwind How to use the best parts of CSS How to combine the strengths of both Tailwind and CSS (While avoiding the HTML bloat that usually comes with Tailwind classes) This is also a great course to take if you’ve been yearning for a great system to...