Identifying and building reusable React components

Photo by Ferenc Almasi on Unsplash

Reddit user raks99832 asked, “How do you go about identifying and building reusable components in React?” I’ll discuss my learnings and strategies for tackling this common problem space.

The easiest identifier for a re-usable component is “whenever logic is being re-used.” If I’m using component logic in one place and am needing that same component logic in another place, I…




Staff front end engineer | Tech lead | Architect |

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

What’s New in JSCharting 3.1

Introducing React Food Truck

READ/DOWNLOAD@$ CFIN (with MindTap Finance, 1 term

My Final Button Challenge

Use Let and Const, Not Var

Progressive Web Applications

How to Avoid Array Mutation

My Alternative to React Redux

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Charles Stover

Charles Stover

Staff front end engineer | Tech lead | Architect |

More from Medium

Resolving Create React App’s “Uncaught ReferenceError: process is not defined”

Creating a React Toolchain from Scratch. Part1.

TypeScript, Part 3: Working with Custom Types

How to Set Up Multiple Environments with Webpack