DRY is not for UI (opens in new tab)
When we talk about UI, we almost always start by thinking about small components we can reuse across the frontend. And of course we can't reuse every component. But where exactly does that border of reusability lie — and how do we decide which components are worth reusing and which aren't? To answer that, I'll first walk you through a problem we ran into on our product, and then show you how we solved it. The problem: one browsing experience, many pages On our product we show senders a list o...
Read the original article