Better Resize Observer API


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 🙂.

Hi! My name is Zell and here are the things I’ve made

Read more from Hi! My name is Zell and here are the things I’ve made

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...

This week I’d like to take a break from talking about code and Splendid Labz — and instead focus on some tooling and ergonomics. If you’ve been hanging out with me for some time, you would have known that I have a Moonlander keyboard. I’m pretty happy with it because it mitigated my carpal tunnel problems for a long long time. (Here’s why it works). Preventing/reducing carpal tunnel problems is important for us developers because, well, we use our hands to work. If we get carpal tunnel, how...