This repository contains the minimal app to get started with redux
, react
, hot-reloading
, async function
and some other great stuffs.
yarn 0.18+ must be present on your machine.
Run webpack-dev-server, get ready to code with hot reloading
yarn start
Share your localhost running app to anyone with an internet connection
yarn ngrok
Bundle your app. It will create index.html
, main.[hash].js
, vendor.[hash].js
and manifest.[hash].js
yarn build
yarn prod
surge ./dist -d subdomain.surge.sh
mv dist docs
git push upstream master
Then go to your repository, Settings -> Options -> Github Pages and select /docs folder
If you have not already done so, move to Chrome and install react-developer-tools & redux-devtools
If you don't care about the process or you don't want to play with your config try create-react-app
目录 为何组件没有被重新渲染、或者 mapStateToProps 没有运行? 为何组件频繁的重新渲染? 怎样使 mapStateToProps 执行更快? 为何不在被连接的组件中使用 this.props.dispatch ? 应该只连接到顶层组件吗,或者可以在组件树中连接到不同组件吗? React Redux 为何组件没有被重新渲染、或者 mapStateToProps 没有运行? 目前来看,
React-babel-webpack-es6 Starter Project A boilerplate using React, webpack and hot module reloading, and ES6 + JSX via Babel.You could use it as a base to build your own web app. Features The provided
React, Redux & Sass Starter A simple and quick way to get you going with developing React applications with Redux and Sass. Comes with pre-configured Webpack for bundling your application to help save
DEPRECATED. This project is not maintained anymore. Starter for Express, React, Redux, SCSS applications Features Webpack development and production environment configuration Webpack SCSS configuratio
Universal React Redux Boilerplate A universal React/Redux boilerplate with sensible defaults. Out of the box, thisboilerplate comes with: Server-side rendering with Express Code splitting with dynamic
React-Redux-Enterprise A React-Redux boilerplate for enterprise web applications. Before you start with this boilerplate, please take a few minutes to read this article and see if you really need this