For JavaScript Every component(functionality) should have its own folder inside src/ comprises of componentName.test.js & componentName.scss file
Note: If that component doesn’t have any custom styles then we can get rid of .scss file
Every route in url should have a corresponding component inside containers folder e.g if url is login then /containerloginLoginPage.js/
classNames inside of components should be camelCase.
For Scss All the commons styles should be inside of styles folder under commons folder
- We will use partials(e.g _table.scss) inside of styles/common folder For className : its will be hyphen(-) separated if its 2 words e.g execution-table
For Test case Respective file will be inside of component_container with name as component.test.js_