TS
Thiago Saraiva
0 days ago

RPC in Practice: How to Make Your Services Talk Without the Headaches

Understand RPC (Remote Procedure Call), compare gRPC, tRPC, and JSON-RPC, and discover when to use each one in your microservices architecture.

placeholder
architecture
7 min read
TS
Thiago Saraiva
3 days ago

Idempotency: The Technique That Separates Amateur Systems from Production-Grade Ones

Understand why idempotency is essential for distributed systems and learn how to implement idempotent operations with practical examples in Node.js and SQL.

placeholder
architecture
9 min read
TS
Thiago Saraiva
28 days ago

Data Normalization on the Frontend: Why Your State Management Will Thank You

Duplicated data in state causes bugs and slowness. Learn how to normalize data like a relational database and simplify updates, caching, and real-time sync.

placeholder
javascript
4 min read
TS
Thiago Saraiva
29 days ago

Polling and Long Polling: when WebSocket is overkill

Understand Short Polling and Long Polling, how to implement each from backend to frontend, and when they're the best choice over WebSocket.

placeholder
networking
24 min read
TS
Thiago Saraiva
57 days ago

WebSockets in practice: from handshake to production deploy

Complete guide to WebSockets: how they work, implementation with Socket.IO and ws, scaling with Redis, and when to actually use them.

placeholder
networking
38 min read
TS
Thiago Saraiva
59 days ago

Database normalization: how far to go (and when to stop)

Understand normal forms (1NF through 5NF), why to normalize, when to denormalize, and how to make practical decisions about database schema design.

placeholder
database
44 min read
TS
Thiago Saraiva
60 days ago

Rate Limiting: How to protect your API without losing your mind

Rate limiting algorithms (Token Bucket, Sliding Window), implementations with Redis, Express and Nginx, and how to handle 429s on the frontend.

placeholder
security
25 min read
TS
Thiago Saraiva
61 days ago

Redis: Way more than just a cache

Redis beyond the basics: data structures, pub/sub, rate limiting, queues, sessions, leaderboards and how to use it in production.

placeholder
database
2 min read
TS
Thiago Saraiva
91 days ago

Why Your First Design System Will Fail (And That's Okay)

Your first Design System will fail—and that's okay. Learn why perfection is impossible, how to iterate healthily, and why continuous improvement beats upfront planning.

placeholder
performance
4 min read
TS
Thiago Saraiva
92 days ago

Atomic Design in Practice: From Atoms to Pages

Build interfaces like chemists build molecules. Learn Brad Frost's 5-level methodology—atoms, molecules, organisms, templates, pages—with practical React examples.

placeholder
frontend
7 min read
TS
Thiago Saraiva
93 days ago

Pixel Perfect Forever: Visual Regression Testing

Catch unintended CSS changes before production. Automate visual comparisons with Playwright, Chromatic, or BackstopJS and build confidence to refactor without fear.

placeholder
testing
6 min read
TS
Thiago Saraiva
94 days ago

Performance Budget: The Financial Discipline of Frontend

Performance Budget: Set page weight and timing limits like a financial budget. Learn to measure with Lighthouse, automate checks in CI/CD, and make conscious decisions about every KB you add.

placeholder
performance
5 min read
TS
Thiago Saraiva
95 days ago

Goodbye Waterfall: The Workflow That Puts Frontend at the Center

Learn why waterfall fails for frontend teams and how a parallel workflow with browser prototyping, CI/CD automation, and cross-discipline collaboration delivers faster, more predictable results.

placeholder
Portfolio
4 min read
TS
Thiago Saraiva
96 days ago

How Red Hat Refactored Their Design System Without Stopping the Site

It was an ordinary afternoon when someone asked a seemingly simple question: "How modular is our design? We'd like to share small parts of the theme with other company sites.” The honest answer? Nervous laughter.

placeholder
case-study
4 min read
TS
Thiago Saraiva
97 days ago

Do You Really Need a JavaScript Framework?

When a new project starts, the first question is usually: "React or Vue? Next or Nuxt? What about Svelte?”. Rarely does anyone ask: "Do we need a framework?”.

placeholder
javascript
4 min read
TS
Thiago Saraiva
98 days ago

Specificity Wars: Why Your CSS Becomes a Mess and How to Fix It

CSS stands for "Cascading Style Sheets". The word "cascading" is beautiful, but hides a trap: styles overlap in not-always-obvious ways.

placeholder
frontend
4 min read
TS
Thiago Saraiva
98 days ago

Style Guide-Driven Development: Documentation That Lives in the Code

Stop writing documentation that lies. Build living style guides with Storybook where docs update automatically with code. Includes setup, MDX, addons, and CI deployment.

placeholder
frontend
7 min read
TS
Thiago Saraiva
98 days ago

Unit Testing in Frontend: The "Do One Thing Well" Mantra

Write testable frontend code by breaking functions into small, single-purpose units. Learn TDD, modern tools like Vitest, realistic coverage targets, and how to test React/Vue components.

placeholder
testing
5 min read
TS
Thiago Saraiva
99 days ago

From "Div Soup" to Modular Markup: The Evolution of HTML

In the old web publishing world, it was common for the frontend team to have **zero control** over markup. HTML was generated by the CMS, by backend developers who had already moved on to other tasks.

placeholder
frontend
5 min read
TS
Thiago Saraiva
100 days ago

The 4 Pillars That Support a Scalable Design System

Every building needs a solid foundation, four walls, and a roof. Without these elements, it's not a building — it's a pile of materials waiting to collapse.

placeholder
architecture
4 min read
TS
Thiago Saraiva
101 days ago

What Does a Frontend Architect Do? Beyond Writing Code

Have you ever wondered what separates a senior frontend developer from a Frontend Architect? The answer might seem obvious at first — more experience, more responsibilities — but the reality is far more interesting.

placeholder
career
3 min read
TS
Thiago Saraiva
128 days ago

Living with JSX

JSX is quite straightforward: It will take 1 minute to know about this is an awesome alternative to templates.

placeholder
react
4 min read
TS
Thiago Saraiva
128 days ago

Get window size in pure CSS

We all know that CSS it has become even harder nowadays. You wouldn't believe it, but CSS can define properties, do the math, and even directly get the window size!

placeholder
css
1 min read
TS
Thiago Saraiva
128 days ago

Web server from scratch with NodeJS Streams

In this post, I want to go back to the basics and build a simple web server from scratch with NodeJS. In doing so, we will review the structure of HTTP requests and responses and get an introduction to Node's Stream API

placeholder
scratch
14 min read
TS
Thiago Saraiva
128 days ago

Building a vector space indexing engine

I've always wanted to code a search engine from scratch and discovered that it's pretty simple. Here is an example indexer I coded using Python. The first thing we need to do is have a way to take the documents we want to search on.

placeholder
hands-on
11 min read