Coder Social home page Coder Social logo

redux-tower-demo's Introduction

塔顶上的 Redux 课程案例

各个目录中代码实现的功能:

dev-env: 项目运行环境

02: 展示首页所有课程封面

03: 添加路由

04: 美丽的心形图案

05: 开始使用 redux 的知识点 —— store

06: redux action

07: redux reducer

08: redux 与 react 组件结合

09: React Devtools 演示 Redux 数据流

10: 获取 store 中的 courses 状态值

11: 更新 store 中的 courses 状态值

12: 获取 store 中的 comments 状态值

13: 更新 store 中的 comments 状态值

14: 模块热加载对 reducer 文件生效

15: Redux Devtools 的妙用

只要把除了 dev-env 目录之外,其它目录的代码拷贝到 dev-env/src 目录中,在 dev-env 目录下运行项目,就能查看该目录实现的功能了。

目录 15 中存储的是完整的项目代码,执行如下命令:

cp -rf 15 dev-env/src
cd dev-env
npm install
npm start

redux-tower-demo's People

Contributors

happypeter avatar inkinworld 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.