A starter template for React + MobX + Router5 development.
- Node.js >= 8.0
-
Clone the project:
git clone [email protected]:pzmosquito/react-starter-template.git
-
Install dependencies:
npm install
-
Start the app:
npm run dev
This will run the build process, serve and launch the application at
localhost:3000
- React - A JavaScript library for building user interfaces
- MobX - Simple, scalable state management
- Router5 - Functional, flexible and powerful routing solution
- Babel - A JavaScript compiler
- Webpack - A static module bundler for modern JavaScript applications
- LESS - A backwards-compatible language extension for CSS
- PostCSS - A tool for transforming CSS with JavaScript
- ESLint - The pluggable linting utility for JavaScript and JSX
- EditorConfig - Define and maintain consistent coding styles between different editors and IDEs
- Flow - A static type checker for JavaScript
-
You are right, you don't need any of the listed technologies other than React itself to build a React application. However, additional tools will help us code much more efficiently.
-
You can remove the following:
LESS
,PostCSS
- If you use plain CSS.ESLint
,EditorConfig
- If you and your team are very consistent with your coding style, or don't care much.Flow
- If you don't want to do type checking.