Created with create-react-app.
- Fork this repo and use that fork to extend Dash according to your specific needs. Whenever you need to inherit updates made to the parent Dash repo, follow this.
- Run
yarn startandyarn prettier-watchseparately - Duplicate
scr/App.jsand use that to replace<App/>insidesrc/index.js
Run yarn start and yarn prettier-watch separately and you're good to go.
- Always use constants for redux action names. Here's why.
- Always validate PropTypes on components that are mature enough.
- Keep CRUD resources inside their own modules, following the example of the
Usersmodule. - Routes that do not belong to a module go inside
src/routes - ALL screens must live inside
src/screens. Use subfolders for scoping, likesrc/screens/users
Dash includes, out of the box:
- Redux
- redux-thunk
- React-router
- react-helmet
- redux-rest-resource
- a dashboard template based on bootstrap 4