This is a lightly-opinionated starter template for React using current idioms.
It includes a number of optional libraries that might be used in a typical project:
Clone this project, then:
rm -rf .git
Rename the project and author in package.json, then good to go!
Based on Create React App using react-app-rewired.
See eslintrc.json for lint rules. Linting is done on git commit via husky and lint-staged.
You can run linting manually via:
npm run lint
or
npm run lint:fix
When your project gets bigger you'll probably want to add react-router.
For more advanced state management, use Redux for general state and Context for globals.
You'll find it easier to compose prototypes using a component library such as Ant Design or Material UI. I'd prefer something like Ant since Material UI uses some unfamiliar UX patterns for dropdowns. If you use Ant make sure your build stays optimized. If you choose something else, research your strategy for overriding the framework styles using your CSS solution (styled-components, Emotion, etc.).