Great article, loved it.
Oleg Shalygin
11

I tend to prefer using folders over prepending filenames with -container or -component.

So I split the project into sections or logical divisions and have a folder for each of those.

Then each folder has the following sub-folders: actions, components, containers, reducers, sagas (if they’re being used), utils. Then I expose anything that’s used across the project with index.js files.

I don’t believe there’s a single solution to naming and folder structure, like my point about Boilerplates, you should be happy and able to refactor a project as and when you need to.

Show your support

Clapping shows how much you appreciated Jolyon Russ’s story.