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...
about 1 month ago • 1 min read
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...
3 months ago • 1 min read
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...
3 months ago • 1 min read
Hey , This is probably one of the most ironic messages I’m gonna send because I’ve just ranted about breaking changes last week. But I gotta tell you about these breaking changes in advance so you can ease into the new library as much as possible — although it’ll probably take some time before I get the documentations out. (Life is tough, but I’m working on all the various fronts I can as we speak). There are two major breaking changes coming with the upcoming version of Splendid Labz....
3 months ago • 1 min read
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...
4 months ago • 1 min read
I apologize for going missing for the last couple of weeks again. During this time, I’ve made a couple of decisions that will change how I handle this newsletter in the future. I believe this decision will pave the way to a happier place on the internet for me and many of you who like to interact with the content I create. To keep things short, I’m going to split this newsletter up into two — one for coding-related stuff, one for life-related stuff. Magical Dev School — this will host all...
4 months ago • 1 min read
I hope life has been treating you well. Something awful happened at home again and it drove my wife to consider a double-suicide with my daughter. Thankfully the worst is over now, but that episode took me out for a week or two. Trying to recover from this sort of ordeal is tough. I wrote something that helped me, and I hope it might help you if you’re struggling through a depressive rut that comes from your close ones. How to stay sane when your partner is in a depressive rut Hope this helps...
5 months ago • 1 min read
I’ve decided to run the Confidence Program. I think this will help many people. If not you, maybe someone you know. Here’s more information about the program. Please feel free to join the experiment if you’re willing to, or help spread the word about it. Thank you. Feeding the wrong wolf In the Tale of the Two Wolves, there’s usually a good wolf and a bad wolf. Common wisdom would tell you to feed the good wolf, but doing that alone may lead to a disastrous outcome. I wrote this article a...
5 months ago • 1 min read
Before I begin this week’s newsletter, I want to thank you if you’ve given me your well-wishes last week after I wrote about calling the suicide hotline for my wife. Thank you. You’ve been extremely generous. It’s heartwarming to know people like who care about other humans — even if you’ve never met them face to face before. It kinda helps me affirm that I’m not alone too. Although I’m probably an oddball who cares about people much more than the average person. For a long time, I’ve...
5 months ago • 3 min read