Daily Shaarli

All links of one day in a single page.

November 9, 2021

MSW – Seamless API mocking library for browser and Node | Mock Service Worker

Mock by intercepting requests on the network level. Seamlessly reuse the same mock definition for testing, development, and debugging.

via devtools.fm

CSS fix for 100vh in mobile WebKit - Matt Smith

Not long ago there was some buzz around how WebKit handles 100vh in CSS, essentially ignoring the bottom edge of the browser viewport. Some have suggested not using 100vh, others have come up with different alternatives to work around the problem. In fact, this issue goes further back a few years when Nicolas Hoizey filed a bug with WebKit on the subject (the short of it: WebKit says this is “intentional” 🧐).

The Value of Design Systems Study: Developer Efficiency and Design Consistency

Design systems are great for developer efficiency, visual consistency, and accessible experiences. But measurement can be challenging, and even here at Sparkbox we’re often relying on anecdotes from our own projects or from self-reported metrics that we’ve gathered from our annual design systems survey. We wanted more proof, so we decided to test our hypothesis, “design systems help developers produce better code faster.” Our test subjects? A handful of willing Sparkbox developers.
via CSS-Tricks mailing list (https://css-tricks.com/newsletter/276-future-friendly-layouts-and-design-system-vitals/)