React File Structure Best Practices - You Can Do It Better

preview_player
Показать описание
Do you know correct React folder structure? It's not an easy question because there is no strict rules for project React file structure. In this video I will show you 2 most popular ways to structure your applications (by data type and by feature/module). It fits any framework or language but we will focus on Reactjs project structure as an example.

🚨IMPORTANT:

📚 References:
Рекомендации по теме
Комментарии
Автор

Great video! btw What Microphone are you using? sounds fantastic!

acs
Автор

Hi, Where to place contexts folder in by feature? For example I have a game folder which contains shared/ components/ api/ folders and some pages like PlayGame and GameAnalyze So where to place GameContext and wrap all the game pages? I could not wrap each game pages because in that pages I use GameContext state.

muzafferckay
Автор

Is there a tutorial project which is based on folder structure in your course?

gurinderkaur
Автор

hello, how can I create an MVC folder structure in react JS ? (method1:by data type)

sahar