Digests » 374


Getting Started With TypeScript and React

In this post, we’ll look at a few advantages of using TypeScript with React. Then, we’ll set up a React-TypeScript project and go through some of the fundamentals. Check it out.

this week's favorite

Why Every React Developer Should Learn Function Composition

Imagine you’re building a React application. There are a number of things you want to do on just about every page view of the application.

A guide for memoization in React - React.memo()

This is the first part of a series on the use of memoization in React. In this series, we'll cover memoizing a React component with React.memo() as well as caching functions and values with React's memoization hooks.

25 Frontend Refactoring Tips and Techniques

In this blog post I am going to explain a list of 25 techniques I used to make my TypeScript NextJS Tailwind code easier to understand. Plese note, most of these are opinionated ideas which may not be applicable to you but it's good to know them nonetheless.

Simple React Scroll Animations With Zero Dependencies

One of the most common effects in brochure websites is a fade-in or float-in animation that occurs during scrolling, shortly after the element enters the user’s screen.

A surprising React bug

The details HTML element doesn’t seem to work well when used as a controlled component in React, as pointed out in this open GitHub issue . At first, I thought it was a React bug, but at the end of my investigation while writing this, I concluded it’s simply a mistake – not having a single source of truth for state.


Free Learnk8s Training Series: Scaling Apps, Nodes, and Clusters

Learnk8s is back with a new virtual lab series. Supported by documentation, scripts, code examples, and a hands-on demo, you’ll deploy and scale an application using the Linode Kubenetes Engine to create clusters. Registration is free and all 3 sessions are open now. Reserve your seat today!

Join over 12,500 readers for a free weekly email with fresh news, articles and tutorials.