GithubHelp home page GithubHelp logo

reactjs-ruby-china's Introduction

###React Ruby China


Ruby China山寨版(React+redux+react-router-redux+antd+es6+redux-thunk)

Demo: https://hql123.github.io/reactJS-ruby-china/ ###使用技术


  • react
  • create-react-app
  • react-redux
  • react-router-redux
  • redux-thunk
  • babel
  • antd
  • webpack
  • isomorphic-fetch
  • moment
  • redux-devtools
  • eslint

###编译环境


  • Node
  • npm

###启动项目


npm install
npm start

###生产环境打包


npm run build

###参考文献


React文档
create-react-app
Redux中文文档
moment.js文档
React-Route官方手册
Babel
react-router-redux
Ruby China API

reactjs-ruby-china's People

Contributors

hql123 avatar

Stargazers

Hongli Xu avatar  avatar xushaobo avatar yangk@net avatar  avatar Keon Ye avatar  avatar  avatar 思迪 avatar  avatar morecho avatar botton avatar  avatar DAGE avatar  avatar weihongyi avatar 塟愛鎵镞の風仯 avatar Ghayn avatar  avatar Bonnie XU avatar aric avatar ZNM avatar  avatar force tone avatar Alex Zhang avatar zhiyue avatar  avatar Lin avatar sakz avatar 钟永豪 avatar  avatar hanmichael avatar  avatar I'm-Hero avatar leo yu avatar 耿返 avatar Ming Gong avatar 龙天 avatar Zhengdai avatar  avatar kissyjoy avatar chencheng (云谦) avatar hong.danyang avatar Kevin Feng avatar  avatar Xiaohan Li avatar viko16 avatar Lin Xiangyu avatar

Watchers

James Cloos avatar chris avatar Ming Gong avatar  avatar hanmichael avatar

reactjs-ruby-china's Issues

components与containers的看法

大概看了下代码,随便说一下而已:

这里containers文件夹其实没有存在的必要了,你把数据管理和业务逻辑都放到了components了。并没有像一些教程里边说的components 纯粹用来做组件渲染,状态无关。

我是比较喜欢这样:

UI组件 components (纯组件,无状态,所有参数通过Props传,可复用性,不会用到和react-redux有关的东西)
容器组件 containers (用来负责管理数据和业务逻辑,react-redux 链接components)

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.