Welcome to my Weekly Digest #19 of this year.
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
Frustrating Design Patterns That Need Fixing: Birthday Picker
In this new series of articles on UX, we take a closer look at some frustrating design patterns and explore better alternatives, along with plenty of examples to keep in mind when building or designing one.
Frustrating Design Patterns That Need Fixing: Birthday Picker - Smashing Magazine
JavaScript testing: 9 best practices to learn
We zoom in on nine best practices for JavaScript testing that can help you write better tests and help your team to better understand them.
JavaScript testing: 9 best practices to learn - LogRocket Blog
Using Forms in React
Learn how to build forms with React, the difference between controlled and uncontrolled inputs, and which to use.
How we use Web Components at GitHub
GitHub has long been a proponent of Web Components. Here's how we use them.
How we use Web Components at GitHub | The GitHub Blog
Some great videos I watched this week
Typescript for React Components
Typescript is quickly becoming the industry standard for React development. Take your Typescript skills from beginner to masters level by learning everything you need to know about how to write components in React the right way.
Advanced CSS Border-Radius Tutorial
How to create complex shape with only CSS border-radius and understand how to separately control horizontal and vertical border-radius.
by Red Stapler
Thinking on ways to solve a Media Scroller
In today’s GUI challenge, Adam Argyle shares thinking on ways to create inline scrolling experiences for the web that are minimal, responsive, accessible and work across browsers and platforms (like TVs!).
by Adam Argyle
Amazon's, Etsy's and Ebay's Checkout UI
Here are five key UI elements that appear on leading ecommerce companies' checkout screens. The UI comparison also has lead to a freebie Figma Checkout template.
Yet Another 5 Must Know CSS Tricks That Almost Nobody Knows
CSS is a vast language with tons of features and it is impossible to know them all. In this video I will be covering another 5 features in CSS that nobody knows but are incredibly useful.
Testing React Components
Here, Amy Dutton will show you how to write tests for a React component using Jest and the React Testing Library.
by Amy Dutton
Mastering React Hooks with Typescript
Let's dive DEEP again into Typescript but this time to look at React Hooks.
Useful GitHub repositories
Folio
A customizable test framework to build your own test frameworks.
zx
A tool for writing better scripts
#!/usr/bin/env zx
await $`cat package.json | grep name`
const branch = await $`git branch --show-current`
await $`dep deploy --branch=${branch}`
await Promise.all([
$`sleep 1; echo 1`,
$`sleep 2; echo 2`,
$`sleep 3; echo 3`,
])
const name = 'foo bar'
await $`mkdir /tmp/${name}`
Bash is great, but when it comes to writing more complex scripts,
many people prefer a more convenient programming language.
JavaScript is a perfect choice, but the Node.js standard library
requires additional hassle before using. The zx
package provides
useful wrappers around child_process
, escapes arguments and
gives sensible defaults.
Install
npm install zx
Documentation
Read documentation on google.github.io/zx.
License
Disclaimer: This is not an officially supported Google product.
Remote Redux DevTools
Use Redux DevTools remotely for React Native, hybrid, desktop and server side Redux apps.
zalmoxisus / remote-redux-devtools
Redux DevTools remotely.
Remote Redux DevTools
This package was renamed to
@redux-devtools/remote
and merged intoredux-devtools
monorepo. Please refer to that repository for the latest updates, issues and pull requests.
Use Redux DevTools remotely for React Native, hybrid, desktop and server side Redux apps.
Installation
npm install --save-dev remote-redux-devtools
Note: for Windows use
remote-redux-devtools@0.5.0
(newer versions will not work due to a Windows issue fixed inreact-native
).
Usage
There are 2 ways of usage depending if you're using other store enhancers (middlewares) or not.
Add DevTools enhancer to your store
If you have a basic store as described in the official redux-docs, simply replace:
import { createStore } from 'redux';
const store = createStore(reducer);
with
import { createStore } from 'redux';
import devToolsEnhancer from 'remote-redux-devtools';
const store = createStore(reducer, devToolsEnhancer());
// or const store = createStore(reducer,
…dribbble shots
Localy — Roadmap
by Arman Rokni
Govoroon App
IoT App for growing plants
Doctor appointment
Allhand - Mobile App
by Baten
Tweets
Picked Pens
GLSL Sample027
by Yuki
Spring pattern
by Liam Egan
Podcasts worth listening
Syntax FM - Technical Debt
In this Hasty Treat, Scott and Wes talk about technical debt — what it is, why does it occur, and some techniques for reducing and avoiding it.
The CSS Podcast - Snap Points
In this episode, Una and Adam are guiding scroll areas into their peaceful resting places, maintaining alignment, keeping visual harmony, and improving the overall experience with the content.
Smashing Podcast - What is The Future of CSS?
We’re starting our new season with a look the future of CSS. What new specs will be landing in browsers soon? Drew McLellan talks to expert Miriam Suzanne to find out.
3 Minutes with Kent - Cypress Driven Development
Software Engineering Daily - Natural Language Processing
Natural Language Processing (NLP) is a branch of artificial intelligence concerned with giving computers the ability to understand text and spoken words. “Understanding” includes intent, sentiment, and what’s important in the message.
Thank you for reading, talk to you next week, and stay safe! 👋
Top comments (1)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.