All the Typescript tutorials โคต๏ธ
-
Caching in Node.js: When In-Memory Beats Redis
Everyone reaches for Redis the second they hear the word cache. Half the time a plain object in memory is faster, simpler, and good enough. Here's how I decide, with the cases where each one wins.
-
Streaming from Node.js to React with Server-Sent Events
WebSockets are overkill for most streaming use cases. Server-Sent Events give you the 80% solution with a tenth of the complexity. Here's how to wire it up in Node and React.
-
I Built a Rate Limiter in Node.js and Here's What I Got Wrong
A rate limiter sounds like a 20-line problem. Then you ship it. Then it breaks in ways you didn't expect. Here's the naive version, the things I got wrong, and what I ended up with.
-
React Server Components: What They Actually Change in Your Code
Forget the hype articles. Here's what actually changes in your day-to-day React code when you start using Server Components, with the mistakes I made so you don't have to.
-
Build a Solana Price Alert Bot in 50 Lines of TypeScript
I got tired of checking DEXScreener every 5 minutes. So I built a tiny bot that watches Solana token prices and sends me alerts. Here's the full code.
-
WebSockets in Node.js โ A Practical Guide
HTTP is great for most things but sometimes you need real-time data. Here's how I set up WebSockets in Node.js without overcomplicating it.
-
Authentication in Next.js Without Overcomplicating It
Auth in Next.js doesn't need a third-party service or 500 lines of config. Here's a practical setup with JWTs and middleware that just works.
-
Prisma Tips I Wish I Knew From the Start
Prisma makes database work easy but there are things I learned the hard way. Here are the tips that would've saved me a lot of time.
-
Writing Custom React Hooks That Actually Make Sense
Custom hooks are powerful but most developers either avoid them or overuse them. Here's when to write one, when not to, and some real examples I actually use.
-
Zod Is the Best Thing That Happened to My TypeScript Code
I used to write manual type guards and validation logic everywhere. Then I found Zod and I'm never going back.