Just click on "Use this template" or clone via ssh
We recommend using the Comet CLI
Path | Description |
---|---|
src/components | A component is an independent part of the UI that can be used many times. The component depends only on the props. Examples: Button, Input, Dropdown Menu... |
src/pages | A page is a collection of components. The PageNameContainer.tsx must contain requests to the server and other logic. The PageName.tsx should be presentational component. Examples: Home, About, Dialogs... |
src/hooks | Your custom hooks |
- src/components/Button/
- Button.tsx
- Button.styles.ts
- src/pages/About/
- AboutContainer.tsx
- About.tsx
- About.styles.ts
- src/hooks/
- hookName.hook.ts
You can use yarn, just use yarn
instead of npm run
Runs the app in dev mode
Builds the app for production to the build
folder
Checks compliance with the code style
Format code with prettier
Checks the code coverage by types
react-comet was bootstrapped with create-react-app
react-comet is open source software licensed as MIT