5 ms·
It is interesting how people have the idea that react === Redux/flux. Where in fact Redux is unopinionated and works with other libraries/frameworks just fine.
by ergo14 9y ago
It is interesting how people have the idea that react === Redux/flux.
Where in fact Redux is unopinionated and works with other libraries/frameworks just fine.
- leshow 9y agoHow often do you see redux used with anything other than react? Or are you just talking about redux working with react alternatives like preact/inferno, etc? You're not wrong, but practically 99% of people pair it with react.
- robmcm 9y agoIt seems to be quite common in angular, even if used indirectly or via inspired libraries. https://github.com/search?utf8=%E2%9C%93&q=angular+redux&type= https://github.com/search?utf8=%E2%9C%93&q=angular+redux&typ...
- jinder 9y agoThe Redux pattern is used quite widely, even if not via the official library. See NGRX for example, which implements the pattern in TypeScript + Angular. https://github.com/ngrx/platform https://github.com/ngrx/platform
- dimillian 9y agoWe use it in our native mobile applications (iOS / Android) for over a year now. It make a lot of sense, improved the codebase maintainability and reduced the number of bugs.
- acemarke 9y agoRedux is actually used noticeably outside of the React community. Redux can be used with any UI layer, and there's bindings for many frameworks and UI layers besides React [0]. Redux has picked up popularity within the Angular community, both in its original form and the NgRx reimplementation. The ember-redux bindings are also starting to gain a bit of a following. Vue's VueX lib is inspired by Redux, and there's Vue-specific bindings for Redux itself. [0] https://github.com/markerikson/redux-ecosystem-links/blob/master/library-integration.md https://github.com/markerikson/redux-ecosystem-links/blob/ma...
- ergo14 9y agoPeople use it with Polymer (a lot of people in the community use it with polymer-redux package) and Vue. React alternatives that you mentioned are also a thing.
- dceddia 9y agoYeah it really is. I'm not sure where that comes from. Maybe it has something to do with the climate when React rose to popularity, where all the competing alternatives were "frameworks," and so people were in that mindset when they approached React? In any case, it's led to a ton of confusion in the community, especially for newcomers.