1.2.0 • Published 2 years ago
cra-template-gim824 v1.2.0
Assets
- Store assets in folder
Components
- Components split by sub-folders based on what they are functioning for - ONLY include reused pieces of code
- 'form' -> Checkbox.js Datepicker.js | 'ui' -> 'Modal.js Button.js'
Context
- Context files
Data
- Constant files and config files exporting variables-
- constants.js
Hooks
- Containing fecth or local storage hooks
- useFetch.js useLocalStorage.js
Pages
- Contains folders for each page or route and within folders containing the main "Page" file along with page specific components that aren't used anywhere else
- 'home' -> Home.js TodoForm.js TodoItem.js TodoList.js
Utils
- Containing functions that serve for data processiong or returning data in a specific format
- formatCurrency.js formatDate.js
1.2.0
2 years ago