loading...

re: An Opinionated Guide to React: Folder Structure & File Naming VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Interesting article! btw I have a question. Where do you put the files related to Redux like the actions and redcuers?
 

Thank you! I don't use redux, but if I did (or any other state management library for that matter), I would follow the same principle; flat folders, long file names.

/src
  /actions
    user-actions.ts
    movie-actions.ts
  /components
    MovieList.tsx
  /reducers
    user-reducer.ts
    movie-reducer.ts
Code of Conduct Report abuse