Answer the question
In order to leave comments, you need to log in
Who can help with the React file system?
Guys who work with React, help. In the src folder, everything is clear, but how to split the project? For each block (header, aside, content) split into 2 js css files? Or is it possible to have 1 js css file for the whole project?
Answer the question
In order to leave comments, you need to log in
React doesn't have a file system, it runs in the browser.
as you wish. often the components are in a separate folder, for other parts of the system - also their own folders in src.
for each component - a separate js file and a css file to it.
In general - take create-react-app and do it in the structure that is there. For you the best option. When you level up, you can do it your way with understanding.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question