Skip to content
This repository has been archived by the owner on Sep 22, 2019. It is now read-only.

A starter template for React + MobX + Router5 development.

License

Notifications You must be signed in to change notification settings

pzmosquito/react-starter-template

Repository files navigation

react-template

A starter template for React + MobX + Router5 development.

Initial Setup

Get Started

  1. Clone the project: git clone [email protected]:pzmosquito/react-starter-template.git

  2. Install dependencies: npm install

  3. Start the app: npm run dev

    This will run the build process, serve and launch the application at localhost:3000

Technologies

  • 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

FAQ

  • Why all the technologies? I just need React.

    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.

  • I still think the standard list is too long.

    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.

About

A starter template for React + MobX + Router5 development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published