When we need to define a new component structure of a React project, one of the first questions that will come to mind is, how do we establish a proper component-folder structure?

Defining a Folder Structure

It’s fairly common that in our projects we tend to use a functionality-based approach in the definition of our component, in which we involve components that represent different sections of our page.

Take this structure from the React docs for example:

As you can see, one of the key aspects…

Eyder Concha

A human and software engineer.

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