GithubHelp home page GithubHelp logo

zwlzwt / react-frame-application Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 124 KB

这是一个基于新React16,Babel7,Webpack4的新技术栈架构没有server-render实现

Home Page: https://zhuanlan.zhihu.com/p/34627859

Makefile 1.60% JavaScript 96.72% HTML 1.68%
react-router-v4 redux webpack4 babel7 react16

react-frame-application's Introduction

这是一个基于react-16.3.0, redux, react-router-4, babel-7, webpack-4基础架构Demo

A React + Redux application without server render.

启动方式

$ npm install
$ make run
// 端口默认`3000`

代码编译

$ make build

涉及到的技术栈

  • react 16.3.0
  • redux
  • webpack 4.0.0
  • react-router >=4.0.0

做出的改变

  • 抛开node端,只是一个spa前端开发环境,打包编译文件分为js,html
  • 采用最新技术架构版本,styled-component为样式方案
  • 加入redux数据结构管理
  • 采用makefile作为构建工具,让package.json更纯粹
  • code split 自己实现的异步加载方法
  • 自己实现的react-redux

react-frame-application's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

react-frame-application's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.