• React Digest
  • Posts
  • Why Every React Developer Should Learn Function Composition

Why Every React Developer Should Learn Function Composition

#374 – September 19, 2022


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

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.

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.

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.

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.

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.


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!