When you work on a React project and the code keeps growing in size, it can become overwhelming as it often includes a large number of components, and then it can be hard to find and maintain.
A neat way to organize your components so it makes it easier to find is to split the component into a separated component type.
This is my recommended folder structure to get started, however, feel free to change and use it as a suggestion only.
To create this structure create these folders.
src/components
src/features
src/layout
src/pages
src/redux
src/recoil/atoms
src/recoil/selectors
If you on a Mac you can use this one-liner in Terminal;
$ mkdir src/components src/features src/layout src/pages src/redux src/recoil src/recoil/atoms src/recoil/selectors
Take the Digital Course & Get 40 Pages React Book
https://www.udemy.com/course/getting-...
Get Free React 17 Book Chapter
https://elielrom.com/ReactBook
View the article on Medium
/ setting-up-professional-react-project-with...
Learning React?
https://github.com/EliEladElrom/react...
On this page of the site you can watch the video online ReactJS Opinionated Component Folder Structure Create-React-App (CRA) TypeScript Project with a duration of hours minute second in good quality, which was uploaded by the user React Tutorials & Tips For ReactJs, d3 Developers 25 November 2020, share the link with friends and acquaintances, this video has already been watched 64 times on youtube and it was liked by 1 viewers. Enjoy your viewing!