Articles
Practical, deeply explained engineering writing — free to read, no sign-up required.
All Articles
Refs, DOM Access & Derived State with useRef and useMemo
Use useRef to access DOM elements (like focusing an input) or store mutable values without triggering a re-render. Compute derived state directly during render, and wrap heavy calculations in useMemo only when they actually slow down your UI.
Side Effects & Lifecycle Sync with useEffect
useEffect lets a React component sync with outside systems like APIs, timers, and browser events after the screen paints. Always return a cleanup function to stop old timers or listeners, and keep your dependency array honest to avoid infinite loops and stale data.
Managing Component State with useState
useState is a React Hook that gives a component its own memory and tells React to re-render the screen whenever data changes. Always replace state with a new immutable copy and use functional updates (prev => ...) when the next value depends on the previous one.
Styling in React – CSS Modules, Utility Classes & Themes
Use CSS Modules to scope styles to one component without class name clashes, or Utility Classes for fast inline-like layout. Pair them with CSS Custom Properties (design tokens) to switch between light and dark themes cleanly.
Components, Props & Component Composition
React lets you split a big UI into small, reusable components. You pass data and callbacks down using props, and wrap nested UI inside children to avoid passing props through layers that do not need them.
JSX Rules, Expressions & Conditional Rendering
JSX lets you write HTML-like UI right inside JavaScript functions. You embed live data with curly braces {}, show or hide elements using ternary or && expressions, and render lists with .map() and a unique key prop.
Setting Up a Modern React Project with Vite
Vite is an open-source build tool that scaffolds a local React workspace in seconds. It serves files on demand using native browser ES modules during development and bundles fast production builds with Rolldown.
Introduction to React – Why Component-Driven UIs Matter
React lets you build web interfaces from small, reusable pieces called components. You describe what the screen should look like for a given state, and React's Virtual DOM updates only the exact elements that changed.
Capstone Project: Event-Driven Order & Notification Microservices
In this capstone, we connect three .NET microservices – an Order API, an Inventory Worker, and an Email Service – using RabbitMQ Topic Exchanges, Raft-replicated Quorum Queues, and automated DLX delayed retries. Orders stay fast and safe even when downstream services fail.
Leveling Up with MassTransit in C# – Clean RabbitMQ Messaging at Scale
MassTransit is an open-source .NET message bus that sits on top of RabbitMQ. It replaces manual byte serialization, exchange setup, and retry loops with strongly typed C# records, automatic topology, built-in retries, and state-machine sagas.
Transactional Outbox Pattern with EF Core & RabbitMQ
The Transactional Outbox Pattern saves your business data and outgoing event in the same SQL database transaction. A background worker then reads that outbox table and publishes the event to RabbitMQ, preventing lost messages if the broker or app crashes.
Hosting Background Consumers with BackgroundService in .NET
In ASP.NET Core, inherit from BackgroundService to run a RabbitMQ consumer safely alongside your web API. It gives you built-in dependency injection, structured logging, and a CancellationToken for graceful shutdowns.