项目作者: burubur

项目描述 :
React architecture from scratch using redux as a state management library and redux-saga as a middleware.
高级语言: JavaScript
项目地址: git://github.com/burubur/react-redux-saga-babel-webpack.git
创建时间: 2018-03-26T14:03:11Z
项目社区:https://github.com/burubur/react-redux-saga-babel-webpack

开源协议:

下载


React, Redux, Saga, Babel, Webpack

0.0.1

React architecture using redux as a state management library and redux-saga as a middleware.

Webpack plugins that I implemented:

  • dotenv to keep env variable
  • html generator to generate index.html
  • minify indes.html file
  • hash .js name
  • uglify to mangle the code
  • dist folder cleaner
  • assets copier
  • code-splitter
  • hot reload
  • hot module replacement (live UI changes once css file changed)
  • resolve using alias for a shorter importing syntax

Prerequisites

Installation

  1. $ git clone https://github.com/burhanmubarok/react-redux-saga-babel-webpack
  2. $ cd react-redux-saga-babel-webpack
  3. $ cp .env.example .env
  4. $ yarn

Test

  1. $ yarn test

Run

  1. $ yarn dev