Scrollbar Reflowing

This is a bit of advice for developers on Macs I’ve heard quite a few times, and I’ll echo it: go into System Preferences > General > Show scroll bars and set to always. This isn’t about you, it’s about the web. See, the problem is that without this setting Read more…

Architecting With Next.js

(This is a sponsored post.) Free event hosted by Netlify coming up next week (Wednesday, August 25th): Architecting with Next.js. It’s just a little half-day thing. No brainer. Join us for a special event where we’ll highlight business teams using Next.js in production, including architecture deep dives, best practices and Read more…

Native JavaScript Routing?

We can update the URL in JavaScript. We’ve got the APIs pushState and replaceState: // Adds to browser history history.pushState({}, “About Page”, “/about”); // Doesn’t history.replaceState({}, “About Page”, “/about”); JavaScript is also capable of replacing any content in the DOM. // Hardcore document.body.innerHTML = ` <div>New body who dis.</div> `; Read more…