useful / how to
How To
Small problems that cost an afternoon the first time and two minutes every time after. Each one is the fix, why it happens, and the command or snippet to paste.
4 of 4 guides
- 01Free a Port a Dead Dev Server Still HoldsEADDRINUSE when nothing is running — how to find the real owner of a port and kill it, without guessing at PIDs.
- 02Ship a Fix Users Can't See (Service Worker Edition)You deployed, you hard-refreshed, they still get the old page. How the service worker update cycle actually works, and how to force it.
- 03Stop the Page Jumping While It LoadsLayout shift is almost always four causes. How to find which one you have in about a minute, and the CSS that fixes each.
- 04Truncate Text Without Breaking the LayoutOne line, several lines, and the flexbox trap that makes ellipsis silently stop working.