You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sub folder / modules may be created as per No. of files for specific functionality
Will include a UI (Generic Components like: card with round borders) that can be utilized anywhere
Mostly will include cards, button components
CONSTANTS
Some of the UI components will require INITIAL_STATE constants which can be stored in component function however a better approach is to store in constant folder with file name like constant.js OR initial-state.js and import from there
HOOKS
Folder containing hooks: each hook will have separate files
ROUTES
Contains routes
STORE
APP-WIDE-STATE stored in redux
pair files
for example:
for cart state we would generally have
cartActions.js - Async LOGIC
cartSlice.js - STATE + REDUCERS