May 2018
Intermediate to advanced
470 pages
13h 54m
English
The client-side code for the MERN applications consist primarily of React components. In order to organize the component code and related helper code in a reasonable and understandable manner, we separated the code into folders related to a feature entity or unique functionality:
| -- client/ | --- auth/ | --- core/ | --- post/ | --- user/ | --- componentFolderN/
In the preceding structure, we placed all the auth-related components and helper code in the auth folder, common and basic components, such as the Home and Menu components, in the core folder, then we made post and user folders for all post-related or user-related components in the respective folders.
This separation and grouping of components based on features ...
Read now
Unlock full access