Fractal — A react app structure for infinite scale
Shivek Khurana
6K20

  • Naming is always hard. I tell everyone on my team to use modules because it’s very distinct from other folder names. If you are a newbie, it becomes easy for you to reason where things should go. But in case of an advanced developer like you, state/ too is a good name.
  • I however will still prefer modules as it contains my actions + reducers. It’s hard for me to identify actions and reducers as `state`. Maybe someone else might suggest a better name.
  • We avoid component/ container distinction because I’ve often observed that components grow into containers. We do however use stateless functional components and standard components.
  • Glad you liked it !
Like what you read? Give Shivek Khurana a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.