Friday Frontend: Independence Weekend Edition

Hey there,

Most years on a July 4th weekend I’d be spending a ton of time hanging out with friends, eating and drinking and being merry. This year, with COVID-19 on the upswing again, I’ll be celebrating just with my family. I hope you too are staying safe and healthy. We will get through this, but only if we don’t throw caution to the wind just because we’re feeling isolated.

There’s some truly great articles this week that you should definitely take the time to read. I absolutely LOVED the article on global and component style settings, the article on reactivity in Solid blew my mind, and ‘Accessible to some’ is a brilliant way of demonstrating the impact of accessibility work. Enjoy!

Best,

KBall from ZenDev

 

CSS & SCSS

 

Global and Component Style Settings with CSS Variables

Absolutely brilliant article diving into how you can use CSS Variables to build a simple, logical, easily themeable component library usable in any project with any design system. I don’t work on ZURB Foundation any more, but if I did this is absolutely the approach I’d be pushing.

When Sass and New CSS Features Collide

As powerful as CSS is becoming, there’s still a ton of things you can do in Sass that aren’t available in CSS. Mixins and the resulting modularity/reusability is top of mind for me. But what do you do when there’s a syntax collision between new CSS and Sass? The author walks through how that can happen, where it happens, and then highlights a clever workaround. 

Styling Layout Wrappers In CSS

Back to basics article but one that is super in-depth and well done. Wrappers are one of the fundamental building blocks you learn as your styling skills grow -- there are so many layout tasks that are hard or impossible without them but trivial with them. This article breaks down what they are, how they work, and a number of usecases.

New in Chrome: CSS Overview

Woah, this looks cool! A new developer tool being tested in Chrome that gives you a quick overview of everything going on in a page. I particularly like the way it will just show you all of the colors in use -- this can help you quickly diagnose if you’re following a design system or slap dash all over the place.


JavaScript

 

SolidJS: Reactivity to Rendering

The concept of reactivity seems to have been gradually taking over front-end web development for a while, but I love that I’m seeing more and more people talking about it explicitly rather than just as one tiny piece of a large framework. This article is super in depth, but if you’re interested in getting a deeper grasp on how reactivity works and how you can build more complex functionality very naturally on top of it, it’s worth the time.

Exploring React Renders: Different Ways a Component Gets Re-Rendered.

One extremely common source of performance issues in React is having an expensive component that is re-rendered a lot. And frequently that rerendering is happening by accident, due to not understanding exactly what triggers the rendering cycle. I’ve definitely been bitten by this. This article dives into the different situations that cause a re-render; having those in your head will help you reason about this. I wish it also went into techniques for preventing those rerenders, but it looks like the author is planning a second post on that subject.

How I work with arrays

Nice, easy to read article on useful techniques for working with arrays. While I shy away from the words “best practices”, many of these I think would fit in that category - they will keep you out of trouble if you follow them.

Understanding Template Literals in JavaScript

A dive into how strings work in JavaScript, comparing template literals to traditional single and double quote strings. If you’re already using template literals day in and day out, you probably don’t need this article. But if you’re not… woah, definitely take a moment to read through this. IMO, template literals are strictly superior to other strings approaches in JS. I use them for everything but the very simplest of strings. And especially with tagged template literals… those have become the underpinnings of tons of great libraries like styled components, graphql-tag, and more.

 

Other Awesomeness

 

Accessible to some

Brilliant illustration of the way ignoring accessibility impacts people. The author created a thought experiment -- what if we treated mouse & “traditional” browser users the same way we treat screen reader users? They implemented this experiment (definitely follow their link and check it out) and then proceed to talk about the shortcomings the way websites often talk about accessibility shortcomings. Very well done.

Information And Information Architecture: The BIG Picture

A misconception I had when I first started moving into the front-end was that design was all about “making things pretty”. This mistake made me both devalue design, and underestimate my ability to think about and reason about design. The lightbulb moment for me was when a designer friend sat me down and talked me through the concept of information architecture. THIS made sense to my engineering mind, and suddenly many of the things I’d brushed off as minor started to seem important as I saw how they impacted the user’s perception of information. If you don’t have a designer to sit you down and talk through this, try this article instead.

Testing your animations for “prefers-reduced-motion” support

Short and to the point. Highlights why we should care about the prefers-reduced-motion media query, how to use it, and how to simulate it with devtools for test.

Selection controls — UI component series

More on the design side, this is a look at the state of the art in terms of components for making selections. Not content to stick with checkboxes and radio buttons? Learn about toggle switches, choice chips, and more. Includes a nice breakdown of situations when it makes sense to use each.

The physics behind spring animations

Great look behind the scenes at what goes into a good spring animation. Useful both in terms of understanding the underpinnings, but also in just getting a grasp of the levers you can pull on to tweak your own animations.

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 or .

Email Marketing Powered by Mailchimp

Older messages

Friday Frontend: New CSS Techniques Edition

Friday, June 26, 2020

I hope you had a great week, and you're staying safe as we endure what looks like a strong rise in COVID-19 cases across the US and Latin America. View this email in your browser Hey there, I hope

Friday Frontend: Juneteenth Edition

Friday, June 19, 2020

Happy day of celebrating the end of slavery in the US. Crazy how recent it was, and how much this history continues to haunt us today. View this email in your browser Hey there, Happy day of

Friday Frontend: Reactivity in 2020 Edition

Friday, June 12, 2020

Hope you had a good week and are looking at a great weekend. I'm surely looking forward to a rest after working a lot of late nights on a deadline. View this email in your browser Hey there, Hope

Friday Frontend: Black Lives Matter Edition

Friday, June 5, 2020

This week has been surreal. We've seen protests in cities across every one of the 50 states in the US, and supporting protests across the country. View this email in your browser Hey there, This

[LINK CORRECTION] Friday Frontend: “Modern” JS & Web Dueling Takes Edition

Friday, May 29, 2020

Happy Friday! There's some super cool articles this week that I'd love to draw your attention to. View this email in your browser [The first version of this newsletter contained an incorrect

You Might Also Like

Palo Alto Releases Patch for PAN-OS DoS Flaw — Update Immediately

Friday, December 27, 2024

THN Daily Updates Newsletter cover Backups: The Key to Cybersecurity How Much Cybersecurity is Enough? Recovery + Resistance = Resilience Download Now Sponsored LATEST NEWS Dec 27, 2024 Cloud Atlas

SWLW #631: You can’t measure productivity, Ask uncommonly clear questions, and more.

Friday, December 27, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

Help Shape the Future of Laravel News - Quick Survey

Friday, December 27, 2024

Help shape Laravel News - Quick 2-minute survey Hi there, As a valued member of the Laravel News community, we'd love to hear your thoughts to help us make our newsletter even better in 2025. Would

Data Science Weekly - Issue 579

Thursday, December 26, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

💎 Issue 449 - JRuby with JBang

Thursday, December 26, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 449 Release Date Dec 26, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 449 - JavaScript Benchmarking Is a Mess

Thursday, December 26, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 449 Release Date Dec 26, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 443 - EU asks for views on plan to force Apple to open up iOS

Thursday, December 26, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 443 Release Date Dec 26, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 442 - SOLID: The Liskov Substitution Principle (LSP) in C#

Thursday, December 26, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 442 Release Date Dec 26, 2024 Your weekly report of the most popular .NET news, articles and projects

Daily Coding Problem: Problem #1649 [Easy]

Thursday, December 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. Spreadsheets often use this alphabetical encoding for its columns: "A

JSK Daily for Dec 26, 2024

Thursday, December 26, 2024

JSK Daily for Dec 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Performance Optimization in React Pivot Table with Data Compression The Syncfusion React