Kitabisa Campaign List
This project was bootstrapped with:
npm run devto run the app in development mode
npm run testto run unit testings using Jest
npm run buildto build the project into static HTML files
npm run previewto run build static HTML files
npm run fmtto format and prettify codes
1. React Components
Those are basically JSX components like button, input, navbar etc.
2. Custom Hooks
Those are used as the layer between React Component and Services to communicate. To keep the code clean, I decided to seperate theme instead of mixing every API calls and services into the components.
They usually return the service results and its calling state like
error. Custom Hooks could optionally call Store if the result of the service needs to be stored globally.
Store is basically a global state manager to store states globally. Recoil is used as the global state manager in this project.