@splittydev/cra-template
v1.0.1
Published
SplittyDev's Create React App Template.
Downloads
3
Maintainers
Readme
cra-template
SplittyDev's personal and production-ready create-react-app template.
Tech Stack
- Jest as test runner
- Testing Library for component testing
- React Router DOM for routing
- Styled Components for styling
- Recoil for state management
- Recoil Persist for state persistence and hydration
Additional Goodies
- Imports relative to
src
are enabled by default:import MyComponent from 'components/MyComponent' import MyPage from 'pages/MyPage'
- Provides a basic
.editorconfig
file - Provides a basic routing skeleton in
src/App.js
- Provides a basic state management skeleton using recoil
- Provides a default
Page
component for consistent page styling
Project Structure
.
├── src
│ ├── components
│ │ └── Page.js
│ ├── pages
│ │ └── HomePage.js
│ ├── state
│ │ ├── index.js
│ │ ├── atoms.js
│ │ └── selectors.js
│ ├── App.js
│ ├── App.test.js
│ ├── index.css
│ ├── index.js
│ ├── reportWebVitals.js
│ └── setupTests.js
├── .editorconfig
├── .gitignore
├── README.md
└── jsconfig.json
For more information, please refer to:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.