Writing

Frontend engineering, TypeScript, and whatever else I'm working through.

Virtual rendering for massive lists

Build a virtual scroller in Vue from scratch. Fixed heights first, then variable heights and the edge cases that come with them.

ESLint's no-restricted-syntax rule

ESLint's no-restricted-syntax bans syntax patterns using ESQuery selectors. How the selectors work, with examples ready to copy into your config.

How to Write Good UI Component Tests

Test what a component does, not how it works. Catching edge cases, preventing regressions, and writing tests that survive refactors.

on medium.com