
Frontend Architecture That Survives Time
Frontend codebases decay through unmanaged coupling. Vertical slices with validated services, typed errors and enforced boundaries keep them changeable.
3 articles on React.

Frontend codebases decay through unmanaged coupling. Vertical slices with validated services, typed errors and enforced boundaries keep them changeable.

Unit testing React with Jest and React Testing Library: a makeSut helper, behavior-first tests with user-event, waiting for async state without act warnings, and renderHook for hooks.

Inversion of control in React: a typed provider contract, a dumb checkout and a factory, so swapping PayPal for Stripe never touches the checkout.