Good Reads: April 18, 2020
- PublishedApril 18, 2020
- Length2 Minutes
- CategoryRoundups
A collection of my favorite articles, videos, and other resources from the past week.
About the Author
Questions & Comments
Since my last update, the brief glimpse of sunshine we were enjoying in the capital has quickly passed and cold rainy weather has returned to the DMV. With most people stuck indoors for a couple of months now, there is a ton of great content being produced and more time than usual to consume it. That said, this one is a bumper edition—Best to make a pot of coffee ☕️
Top Highlight
Josh Comeau's article, A Static Future, does a great job explaining the power of modern static site generators and clarifies some of the strengths and weaknesses of popular libraries like Gatsby and Next.js. It makes for a great introduction if you're new to the topic
Design Systems
- “What Has Changed and Where’s it Going?” by Dave Rupert—An Event Apart video: A close runner up for my favorite piece of content this week, Dave's a great speaker and his presentation at An Event Apart here in DC is no exception. He discusses how advancements in browser support have made redundant some previously popular polyfills and support libraries in an effort to slim down page weights whose growth outpaces data limits and connection speeds.
- Layout-isolated Components: Facebook's former 'flexbox guy', Emil Sjölander, argues against the use of several properties whose effects extend outside the bounds of a reusable component resulting in unpredictable and inconsistent behavior in different situations.
CSS
- CSS Findings From the New Facebook Design: In-depth analysis of techniques used to build the new Facebook UI
- Reverse Engineering WhatsApp Web’s CSS: Breakdown of some of the techniques used to build WhatsApp web and an accompanying Codepen rebuild as reference.
- Constrained CSS grids without max-width: Clever technique for contstraining grids with variable bookend-columns instead of a
max-width
setting. - CSS for internationalisation: Amazing deep-dive into HTML and CSS's i18n-friendly properties (e.g. dir, lang, logical-properties, writing-mode)
- 98.css: Who doesn't love a bit of nostalgia?
JavaScript
- Introduction to Next.js 9: This Egghead course was a great way to jump back in after using Gatsby on a handful of recent projects. Recently updated to empower SSG workflows, my favorite part about Next has always been the way the maintainers put careful consideration into API design to simplify complex functionality into easy-to-use solutions like filename-based dynamic routes 🤯 (Egghead subscription required)
- Learn ES Modules in Node with Myles Borins: Insightful walkthrough of Node's recently added ES Module support including self-referential imports and export maps.
Speaking of Gatsby: This site is one of those I recently built with Gatsby, it uses a custom theme (gatsby-theme-xdmorgan
) to aggregate and configure popular Gatsby plugins (like a toolkit dependency). This isolates dependency management, allows drop-in reuse on side-projects, and provides quickstart support for TypeScript, Sass, MDX, and other opinionated nice-to-haves. Check it out on npm and GitHub.
Tools
This week an invite for the Framer Web beta arrived in my inbox 📬 Being real-time and web-based, it will draw obvious comparisons with Figma. As a code-backed prototyping tool, I'm interested to see how it can be integrated into a design systems component library workflow, more on that soon!
Architecture
- Architecture Spotlight: Event Sourcing: Simple explanation of the event sourcing pattern and how the storage of mutation events (instead of their outcomes) can result in an easily audited historical timeline of changes to saved data.
Performance
- How to Prepare and Use Variable Fonts on the Web: Step-by-step guide to subsetting and providing fallbacks when migrating to variable fonts. Given this site also uses Inter, I should probably get on that.
- Responsive Images the Simple Way: CloudFour have a few helpful guides to responsive images, this one concisely explains
srcset
andsizes
attributes and how/when to use them with<img />
and<picture />
elements.
Conferences
- Jamstack Conf Virtual: Organized by Netlify, the next Jamstack conf is going free virtual, see you there 👋
Sources
- Sidebar: Daily newsletter
- ESNext News: Weekly newsletter
Thanks for reading! Hopefully the next time I write one of these it will be #cans on tyneside. 🤞