Part 6.1 — Understanding State Boundaries: Local, Shared, and Global
Most React state problems aren’t technical—they’re architectural. This post teaches you how to place state correctly so your app stays simple, fast, and maintainable.
Latest articles, tutorials, and deep dives from ndlab tech blog.
Most React state problems aren’t technical—they’re architectural. This post teaches you how to place state correctly so your app stays simple, fast, and maintainable.
Frontend tests only matter if they run automatically. This post shows how to run Jest and Playwright tests in CI—and keep them reliable as your app grows.
Unit tests build confidence in components. End-to-end tests build confidence in the product. This post shows how to test real user journeys with Playwright.
Frontend tests should be fast, deterministic, and independent of the backend. This post shows how to mock REST APIs correctly—without leaking implementation details.
Components and hooks are where frontend behavior lives. This post shows how to test them through real user interactions—without brittle implementation details.
A good testing philosophy is useless without a solid setup. This post walks you through configuring Jest and React Testing Library so your tests are fast, reliable, and easy to write.
Results