Weekly Digest 22/2021
Welcome to my Weekly Digest #22 of this year, which is the first one of June. Finally, summer has arrived ☀️
This weekly digest contains a lot of interesting and inspiring articles, videos, tweets, podcasts, and designs I consumed during this week.
Interesting articles to read
Trigonometry in CSS and JavaScript
In this series of articles, we’ll get an overview of trigonometry, understand how it can be useful, and delve into some creative applications in CSS and JavaScript.
A better segmented control
A few years ago, we built a segmented control component for the Lyft Product Language (LPL) design system. However, when we recently looked at our component adoption and usage metrics, we found very few teams actually used our segmented control when building products and features.
Creating a CLI tool with Node.js
In this article, you’ll learn how to create a CLI tool using Node.js, test it, and then publish it on NPM.
The Testing Trophy and Testing Classifications
How to interpret the testing trophy for optimal clarity
Some great videos I watched this week
The option you want to enable beyond strict
strict (and its sub flag strictNullChecks) can really help prevent null and undefined errors in your runtime JavaScript. However, it doesn’t defend against invalid array and object access.
Speed Up Jobs with npm ci
npm ci is a special command for installing node packages in a continuous integration environment. In this video I show Github Actions with npm ci in a JavaScript project, after showing npm i for the same code. I also talk about some of the differences of the command, and show some benchmarks as a project scales and adds more packages so you can know how useful it is in the real world.
Test-Driven Development
Test-Driven Development (TDD) is a proven prevent bugs and improve the quality of your code — and it’s fun! Learn the fundamentals of JavaScript testing in this beginner’s tutorial.
VS Code tips: The Git: Auto stash setting
With auto stash enabled, VS Code automatically stashes changes on git pull and restore them once the pull completes.
Useful GitHub repositories
NocoDB
Free & Open Source Airtable alternative. Turns any SQL database into a smart spreadsheet. Supports MySQL, Postgres, SQL server, MariaDB & SQLite.
utterances
A lightweight comments widget built on GitHub issues. Use GitHub issues for blog comments, wiki pages and more!
PhotoPrism
Open-Source Personal Photo Management. Say goodbye to solutions that force you to upload your visual memories to the cloud!
dribbble shots
Task Management App
Spatu — Shoe Market App
Smart Home Mobile App
My Orders
Dario App
NFT Marketplace Web Mobile
Tweets
Podcasts worth listening
The CSS Podcast — Transitions
In this episode, it’s all about transitions. What you can and can’t transition its limits, and its superpowers. We’ll finish up with ways to trigger transitions and a few tips and tricks.
3 Minutes with Kent — Make your DB schema as restrictive as possible for easier migrations
Smashing Podcast — Why is my React app slow?
We’re talking about React performance. What factors slow our React apps down, and how can we fix it? Drew McLellan talks to expert Ivan Akulov to find out.
Syntax — React + TypeScript
In this episode of Syntax, Scott and Wes talk about using React with Typescript — how to set it up, components, state, props, passing data, custom hooks, and more!
Tools and Resources
Reactive Resume
A free and open source resume builder that’s built to make the mundane tasks of creating, updating and sharing your resume as easy as 1, 2, 3.
Thank you for reading, talk to you next week, and stay safe! 👋