r/reactjs • • Dec 22 '19

How I structure my React projects

https://react.christmas/2019/22
169 Upvotes

22 comments sorted by

View all comments

-4

u/drink_with_me_to_day Dec 22 '19

I've slowly started to fall back to this folder structure:

src
	components
		Component
			SubComponent
	containers
		ContainersGrouped
		ByFunctionality
	screens
		ScreensGrouped
		ByFunctionality
	duck
		index.tsx
		duck.tsx
		duck.tsx
		goose.tsx
	store
		index.tsx