• React Digest
  • Posts
  • Common Sense Refactoring of a Messy React Component

Common Sense Refactoring of a Messy React Component

Because rewrites rarely lead to anything good

I’ve been given some chaotic codebases to fix throughout the years, though, and I wanted to show you my approach to tidying them up. In this article, we’ll go over a messy component that I had to refactor during an audit and how I did it.

Omlet shows you how React components are adopted across projects and over time. Evolve your design system faster without introducing bugs.

101 React Tips & Tricks For Beginners To Experts
about 1 hour by Ndeye Fatou Diop

A long list of tips from Ndeye working professionally with React for the past 5+ years.

How to Integrate Refresh Tokens in React
13 minutes by Rares Tarabega

On the premise that our App is immune to XSS attacks, we will store both access & refresh tokens in the local storage. For this, we will use React which escapes any values embedded in JSX before rendering them, greatly helping us in countering XSS attacks.

Unstyled components are a great way to share behavior in your React apps without having to create any styling abstractions prematurely.

React Compiler, How Does It Work?
13 minutes by YongSeok Jang

We aim to deeply explore the React Compiler. Let's start by examining the compiler's entry point through the Babel plugin.

how did you like this issue?

Login or Subscribe to participate in polls.

newsletters

Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.