N
N
Nikita Shchypylov2017-07-18 17:26:44
Python
Nikita Shchypylov, 2017-07-18 17:26:44

What is the best file structure for React?

Hello everyone
When we install react using create-react-app, we get a ready-made hierarchy. Is it worth sticking with? If so, where is the best place to store folders imgand css? On the same level with publicand src?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Oleg Gamega, 2017-07-18
@Nikulio

you will redo a lot anyway and more than once
I store something in public, I store
many css next to the component in the folder, it all depends on the task

R
Roman Alexandrovich, 2017-07-18
@RomReed

I store at the Public level. Created there css img etc. and I keep. But no one forbids you to put src.

I
Islam Ibakaev, 2017-07-18
@devellopah

6 months ago I came across this article

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question