React Folder Structure

preview_player
Показать описание
I talk about the folder structure I have been using for React applications. It's not working for me anymore as I create more and more React components. I am experimenting with some different ways to structure my folders.

----
Video Suggestions:

----
Follow Me Online Here:

----
#benawad

----
#benawad
Рекомендации по теме
Комментарии
Автор

hi Ben, we always try to separate by context. So our folder structure is by context.
And also we try to add everything for that context together.
For example if you use redux, than all the actions etc are within the same folder.

So if there is an issue, than you can find everything about that context together.
Of course you have some general subjects like navigation. You can put those together.

So first determine what the processes are in the project and that would be your main structure.
If needed you can add subfolders for different context.

And common components we put in a common folder.

So dividing by context instead of types is the key i think. :-)

dennistennis
Автор

Hi Ben, I have a question for you if you don't mind. How are you using polyfills with create react app applications? Are you ejecting the project or something else manually? Thanks!

dennistennis
Автор

How to structure when u have several user panels?

nadeerahashankuruppu