dwyl / learn-redux

:boom: Comprehensive Notes for Learning (how to use) Redux to manage state in your Web/Mobile (React.js) Apps.
GNU General Public License v2.0
446 stars 42 forks source link

Can we use Redux with Web Components (or Polymer) ? #23

Closed nelsonic closed 7 years ago

nelsonic commented 8 years ago

React vs. Web Components Discussion on Redit: https://www.reddit.com/r/javascript/comments/3shuzw/react_vs_web_components_what_would_you_do_xpost/

Call me a luddite, but I still like the idea of using a _Web Standard_ (even one that is only a "Draft"...) over using a proprietary "our-way-is-best" framework...

MeTaNoV commented 8 years ago

Check this article for an example with NuclearJS: http://paulusschoutsen.nl/blog/2015/07/using-polymer-with-flux-and-a-global-app-state/

nelsonic commented 8 years ago

Good article @MeTaNoV thanks for sharing. :+1:

lastmjs commented 8 years ago

I've made a custom element that let's you use Redux declaratively. Just pop the element into any component that needs it: https://github.com/lastmjs/redux-store-element

nelsonic commented 8 years ago

Nice work @lastmjs 🎉

nelsonic commented 7 years ago

https://github.com/dwyl/learn-elm/

bitflower commented 6 years ago

@lastmjs Do you have a sample app using redux-store-element?