Giter VIP home page Giter VIP logo

trustdec / react-native-component-redux Goto Github PK

View Code? Open in Web Editor NEW
29.0 0.0 3.0 18.57 MB

With Redux, your app's state is defined by a reducer. Each navigation router effectively has a reducer, called getStateForAction.

License: MIT License

JavaScript 90.14% Python 1.61% Java 4.30% Objective-C 3.95%
react react-native react-native-vector-icons react-navigation react-navigation-redux-helpers react-redux redux todo todos counter

react-native-component-redux's Introduction

功能集合

  • 热更新 code-push
  • carousel
  • redux 案例
  • mobx 案例
  • react-navigation 案例
  • Android 硬更新
  • iOS 硬更新
  • native 混合

项目架构

  • react-native,
  • react-navigation,
  • redux,
  • mobx,
  • react-native-vector-icons
  • react-native-splash-screen
  • react-native-code-push ...

自动化工具

  • prettier

案例效果图

screenshot screenshot screenshot screenshot

快捷地址:

immutable doc

immutable blog

react-navigation doc

React Native Express

react-navigation-redux-helpers doc

react-navigation-redux error

介绍 Redux 中间件(Middleware)

还记得 Redux 的 GIF 嘛

我们需要稍微改变一下

正如你所看到的,这里还有一个概念:Middleware

什么是 Middleware

文档中看到:

    It provides a third-party extension point between dispatching an action, and the moment it reaches the reducer

简而言之,这是一个函数,在 Action 到达 Reducer 之前,将使用 Action 调用该函数。

在这个功能中,你可以让 Action 继续前进,你可以阻止它继续前进,或者你可以改变它,并把它发送给下一个。

react-native-component-redux's People

Contributors

renovate-bot avatar trustdec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-component-redux'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.