- UI - Chakra UI, react-icons
- Framework - Create React App
- Forms - react-hook-form
- DX - eslint, prettier, typescript, husky
- Utilities - lodash, moment
- Clone the repo
- cd into the cloned repo and run
yarn
yarn start
to start the application
- Add your variable to .envrc, declare type in global.d.ts
- open constants.ts and export your variable.
- Import the variable from constants.
Chakra UI borrows a lot of concepts from Tailwind and you will find their API very similar. However, after using chakra for few hours, I realised the layout features are not as rich as I thought and I had to install tailwind.
- Use Tailwind CSS for layout and typography, avoid Chakra UI components + Typography
- Use Chakra UI for all other components i.e. Forms, Data Display, Feedback, Overlay, Disclosure, Media and Icons.
- In case you have a custom need, you might want to explore headless-ui/react package and build your UI.
- Feel free to add Tailwind plugins, but make sure they dont conflict with Chakra UI
Name: Code Spell Checker VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker
Name: ESLint VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
Name: Prettier - Code formatter VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
Name: Tailwind CSS IntelliSense VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss