Giter VIP home page Giter VIP logo

how-redux-works's Introduction

Introduction


redux是我们在使用react技术栈时,社区中最主流的数据流解决方案。本repo不会具体讲解redux的技术实现原理(哈哈标题党),因为redux的实现其实没什么特别好讲的,网上一堆文章,redux简单版的实现总代码数不会超过200行,包括store是怎么生成的,中间件的执行机制等等。你甚至可以自己写一个中间件来玩,包括redux-thunk,redux-promise-middleware,redux-logger等等这些中间件都是很简单易懂的。你可以用这个项目里的代码,写一个自己的中间件?或者做一些调试来了解redux的执行过程?whatever image

Installation

git clone https://github.com/coderzzp/how-redux-works.git
npm i 
npm start

然后CRA会帮我们运行项目

how-redux-works's People

Contributors

coderzzp 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.