cooldude101
cooldude101

Reputation: 1425

Best practices for folder structure for services in a react app?

A react app has the following services (and maybe more will be added):

I'm not even sure those would qualify as "services" but I don't know what else to call them.

Current folder structure is:

Does this follow best practices?

Upvotes: 7

Views: 16403

Answers (1)

jxzheng16
jxzheng16

Reputation: 91

There are so many different ways to structure a React App that it all comes down to what helps you, the developer, navigate your files more efficiently.

The 100% correct way to structure a React app (or why there’s no such thing)

If you just want to see some example file structures, you are welcome to checkout many popular repos such as create-react-app or react-boilerplate.

Upvotes: 6

Related Questions