A page whose interactive parts were converted to a directive-based runtime, and an assertion that it still works with scripting disabled. Progressive enhancement is a claim and this…
A reduce with an accumulator object, written for the ninth time, replaced by a method. Object.groupBy returns an object with a null prototype, which is the detail that…
An element that starts hidden and animates in had needed a class added on the next frame, because there is no style to transition from. The requestAnimationFrame dance…
Thirty lines of JavaScript observing an element and toggling a class, replaced by four lines of CSS. The observer version also had a frame of the wrong layout…
Four interactive blocks on a page, each shipping its own approach to the same problem. Four independent solutions to the same class of problem is what happens when…
The November release drops Node 16, which reached end of life in September, and the upgrade was mostly about the runtime rather than the tool. A major version…
A cascade of .eslintrc files with extends chains four deep, where nobody could say which rules were actually active. The flat config is a JavaScript array with explicit…