The Real MVP? Good Old document.querySelector
JS frameworks be like: “I see you clicked. Let me rerender your whole soul.” We need to talk. While everyone’s out there building apps that could power a small rocket ship just to display a todo list, I’m over here having a love affair with document.querySelector. Yeah, that’s right – the same DOM API that’s been sitting in your browser since Obama was president (the first time). The Framework Fever Dream Don’t get me wrong, I love React, Vue, and all the cool kids on the block. But sometimes I feel like we’ve collectively forgotten that browsers got really good at DOM manipulation. Like, scary good. Modern browsers are basically Formula 1 cars, and we’re strapping a whole trailer to them because we’re afraid to drive stick. ...