Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Contains the source code for the project.

src/pages

...

  • Contains the page components.

  • Each component can layout component as top wrapper based on current active route.

  • I usually use ‘pages’ but I have seen some codebases use ‘containers’.

...

src/tests

  • Contains the tests.

src/pages/*ComponentName*/ComponentName.js

  • Contains the logic for the main component container

src/pages/*ComponentName*/*SubComponentName*/SubComponentName.js

  • Contains the logic for any component specific to the parent component

Here’s an example of the current dst-seedcalc folder structure:

...