Friday Frontend: Apocalypse 2020 Edition

View this email in your browser

Hey there,

Hope your week was a little less apocalyptic than mine -- this newsletter is coming to you from California, where we’ve been embroiled in a massive heatwave (just cooled down) combined with crazy thunderstorms that have started more than 300 fires across a bone-dry state, with fire crews that are already understaffed and having to take new approaches and precautions because we’re still in the middle of a pandemic. 2020, you’re a bit too much.

Anyways, let’s look into some tech to distract from this craziness. My favorite articles this week are the architecture discussion on how to structure CSS, the look at a new Svelte-based SSG called Elder.js, and the micro-e-book on interface design. Enjoy!

Best,

KBall from ZenDev

 

CSS & SCSS

 

The Just in Case Mindset in CSS

A look at the approach to edge cases in CSS. This mindset is tied deeply to one of the simultaneously most powerful and most frustrating things about CSS -- it is designed to deal with varying content. CSS is a set of guidelines for the browser, which then applies them against whatever comes its way. This implicitly makes it both more flexible and less fully controlled than other programming languages you might be used to.

How I Structure My CSS (for Now)

I love these examples of explicitly how different folks design sustainable systems of CSS, particularly because most (not all, but most) CSS methodological discussion is around micro-architecture -  class naming, how you decompose things - rather than full system architecture.

Some more CSS comics

More fun visual representations of CSS (along with some examples that highlight our common frustrations).

content-visibility: the new CSS property that boosts your rendering performance

Ooh, this is cool! A simple CSS property to let the browser know when content is going to start off-screen, so that it can skip a lot of rendering work and get you to interactive much faster. Very nice!

What Happens When Border Radii Overlap?

Dang, I thought I knew just about everything there was to know about the border-radius property, and then here comes this article to show me differently. This is very well done, and while it’s a pretty niche case I recommend reading it so you aren’t surprised when one day you’re doing something fancy with borders and they aren’t behaving how you expect.


JavaScript

 

Copying properties from one object to another (including Getters and Setters)

Interesting look at one of the holes in pretty much every existing “copy this object into that” methodology → If you’ve defined getters and setters on your original object, they won’t be copied! They live in a funny place as ‘property descriptors’ rather than properties, and need to be copied differently. This post will show you how.

Elder.js: An Opinionated, SEO focused, Svelte Framework.

Love to see new JAMStack frameworks being built up around Svelte. I tried to use Sapper completely for SSG, but it wasn’t designed well for that… this appears to be. Think closer to Gatsby than Next. 

Functional Programming in JavaScript: Functions, Composition and Currying

Solid tutorial-style article looking at how to use certain key functional programming concepts in JavaScript. If you’re not already feeling comfortable with functional programming, definitely recommend taking the time to read and learn about it -- I think this family of thinking has been more helpful for my development skills than almost any other thing I’ve learned about, even though I’m almost never working in a purely functional codebase or environment.

Introducing Rome

This is an interesting project that I’ve had on my radar for a while, that just announced a first beta release and general availability. Rome “is designed to replace Babel, ESLint, webpack, Prettier, Jest, and others.” -- it takes a very different approach than much of the JavaScript ecosystem in that it is a monolithic project trying to do many things in an integrated way rather than a set of small modules. I will be very interested to watch this, as this approach seems like a natural reaction to the “JavaScript Fatigue” of our current approach.

 

Other Awesomeness

 

Mozilla is dead

One perspective about what’s going on at Mozilla with the layoffs of last week, and how long Mozilla has to rebuild trust before folks abandon Firefox entirely.

The cult of the free must die

A look at one of the key cultural questions/distortions in web software today: The idea that most or all software on the web should be free, and how that is tied to what we’re seeing with Mozilla.

Why do we interface?

Super interesting mini-book on the history of interface design & the thinking and reasoning that goes into it. Absolutely fascinating.

How to Run GraphQL Directive-Driven Capacity Tests at Scale

As I’m spending more time in GraphQL land, this type of post appeals to me more. Great case study that breaks down why their traditional capacity tests weren’t working for GraphQL, how they addressed it, and results. 

Copyright © 2020 ZenDev, LLC, All rights reserved.
You are receiving this email because you opted in at our website, zendev.com.

Our mailing address is:
ZenDev, LLC
922 San Leandro Ave., Unit C
Mountain View, California 94043

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Email Marketing Powered by Mailchimp

Older messages

Friday Frontend: Mozilla Death Rattle Edition

Friday, August 14, 2020

Welcome to August! Okay so it's already halfway done, but after taking a week off it's the first time I get to talk to you! View this email in your browser Hey there, Welcome to August! Okay so

Friday Frontend: Many Types of Design Edition

Friday, July 31, 2020

Congratulations, you made it to the end of July! I hope you're holding in there and doing okay. View this email in your browser Hey there, Congratulations, you made it to the end of July! I hope

Friday Frontend: July 24 Edition

Friday, July 24, 2020

One of the things that feels most challenging to me about this long disaster we're going through as a world... View this email in your browser Hey there, One of the things that feels most

Friday Frontend: July 10 Edition

Friday, July 17, 2020

Happy Friday y'all, hope you had a great week! View this email in your browser Hey there, Hope you had a great week! I'm enjoying a few weeks of relative care-free summer before we have to deal

Friday Frontend: July 10 Edition

Friday, July 10, 2020

Happy Friday y'all, hope you had a great week! View this email in your browser Hey there, Happy Friday y'all, hope you had a great week! A set of interesting forward looking articles this week

You Might Also Like

Re: Hackers may have stolen everyone's SSN!

Saturday, November 23, 2024

I wanted to make sure you saw Incogni's Black Friday deal, which is exclusively available for iPhone Life readers. Use coupon code IPHONELIFE to save 58%. Here's why we recommend Incogni for

North Korean Hackers Steal $10M with AI-Driven Scams and Malware on LinkedIn

Saturday, November 23, 2024

THN Daily Updates Newsletter cover Generative AI For Dummies ($18.00 Value) FREE for a Limited Time Generate a personal assistant with generative AI Download Now Sponsored LATEST NEWS Nov 23, 2024

📧 Building Async APIs in ASP.NET Core - The Right Way

Saturday, November 23, 2024

​ Building Async APIs in ASP .NET Core - The Right Way Read on: m​y website / Read time: 5 minutes The .NET Weekly is brought to you by: Even the smartest AI in the world won't save you from a

WebAIM November 2024 Newsletter

Friday, November 22, 2024

WebAIM November 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/november Features Using Severity Ratings to Prioritize Web Accessibility Remediation When it comes to

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights