Weekly Digest 25/2022
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
Different Ways to Write CSS in React
We’re all familiar with the standard way of linking up a stylesheet to the head of an HTML doc, right? That’s just one of several ways we’re able to write CSS. But what does it look like to style things in a single-page application?
How to add a theme switcher to Storybook
Learn to control how a story renders by wiring it to a decorator and toolbar items
Some great videos I watched this week
ReactJS useId
Hook
React 18 brings a lot of exciting features but one of the less celebrated but still extremely useful addition is the new useId
hook and that’s exactly what we will cover in this complete tutorial
New in Chrome 103: HTTP 103 early hints, Local Font Access, AbortSignal.timeout, and more!
Chrome 103 is rolling out now! There’s a new HTTP status code that helps the browser decide what content to preload before the page has even started to arrive. The Local Font Access API gives web applications the ability to enumerate and use fonts installed on the user’s computer. There’s an easier way to implement timeouts on asynchronous APIs.
The Power of JS Generators
Generators have been around in JavaScript since ES2015, yet remain largely ignored by many JS devs, who don’t see why or how they’d use them in their day-to-day work.
Every Beginner React Developer Makes This Mistake With State
By far one of the biggest beginner React mistakes I see is developers storing derived state. This is a huge problem that is incredibly hard to detect unless you know what you are looking for.
Useful GitHub repositories
Data Structure & Algorithms 101 with doodles
I am trying to describe complex matters in simple doodles!
Dolt
Dolt — It’s Git for Data
React Native Elements
Cross-Platform React Native UI Toolkit
dribbble shots
Finance Dashboard
Improving health app
Fusen-System
Tweets
Podcasts worth listening
Syntax — New Viewport Units
In this episode of Syntax, Wes and Scott talk about the new viewport units coming to the web — what are they and when can we use them?
Thank you for reading, talk to you next week, and stay safe! 👋