简体   繁体   English

React Redux使用哪种设计模式?

[英]What kind of design pattern React Redux is using?

I'm using React with Redux for most of recent web app projects but I cannot answer the question which design pattern it is? 我在大多数最新的Web应用程序项目中使用React with Redux,但我无法回答它是哪种设计模式的问题? It looks like an MVC but feels different. 它看起来像MVC,但感觉却有所不同。

The context is a typical React Redux application with no additional middleware and other state management libs. 上下文是典型的React Redux应用程序,没有其他中间件和其他状态管理库。

I think that this article will help Thinking in Redux... - and I'm providing a link to a previous/overlapping stackoverflow question Redux/React and MVC, OOP . 我认为本文将对Redux中的思考有所帮助...-并且我提供了指向先前/重叠stackoverflow问题Redux / React和MVC,OOP的链接

TLDR; TLDR; Redux focuses on functional programming concepts and some parallels can be drawn to existing frameworks but it isn't important to get caught up on the naming/abbreviations... just really the concepts. Redux专注于函数式编程的概念,可以与现有框架进行一些比较,但是紧跟其命名/缩写的意义并不重要...只是这些概念。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM