GithubHelp home page GithubHelp logo

201707react's Introduction

React技术栈

原生开发中

  • 要自己维护数据和DOM对象的一致。
  • 不方便复用
    • 重复代码
    • 容易引起冲突
    • 代码比较零散,结构不清晰
    • 不方便重构

为什么要用React

  • 组件化,把一个复杂的页面分成一个一个小组件
  • 模块化

React有什么优势

React里有哪些核心概念

初始化项目

npm init -y

安装依赖的模块

### 生产依赖

npm install react jquery bootstrap redux react-redux react-router react-router-redux@next -S

开发依赖

npm install babel-core babel-loader babel-preset-es2015 babel-preset-stage-0 babel-preset-react less less-loader css-loader style-loader file-loader url-loader webpack webpack-dev-server html-webpack-plugin -D

 

201707react's People

Contributors

zhufengnodejs avatar

Watchers

 avatar

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.