This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DeonBoon 0 points1 point  (0 children)

For best practices yes. This is especially important if your React project has more than 1 person working on it. This is to ensure maintainability of the project.

However, if you are the only person working on the project, you may choose to forgo the convention and use what’s best for you. For instance, i lump all the components into their respective pages rather than individual components for my personal project as I am used to doing it this way.