neilff / redux-ui-router

ngRedux bindings for Angular UI Router
MIT License
143 stars 48 forks source link

Make Angular-independent #87

Open mischkl opened 7 years ago

mischkl commented 7 years ago

Hello,

we have a hybrid NG1/NG2+ app but I guess this would also be useful for people possibly migrating from NG1 to React or other frameworks:

It would be cool if this provided a framework-independent connection between UI Router Core v1.0 and vanilla Redux. That way it could be used equally well from either Angular 1 or Angular 2, and would serve as a helpful integration tool for hybrid projects such as ours.

I think that especially in the case of upgrading from Angular 1, the combination of Redux and UI Router makes a lot of sense - and with full Redux support for the UI Router even more so! We are already using something like this stack today - UI-Router 1.0 + Redux + ng2-redux (aka @angular-redux/core), along with some glue code to connect routing with ng2-redux. But our solution is very specific to our stack; a community-maintained universal solution that is framework-agnostic seems like it would be even better,

If there is interest in going in this direction, I would be one of the first to test it out and help where possible.

Cheers

hally9k commented 7 years ago

Hi @mischkl,

I totally agree, this would be a great progression for redux-ui-router. When I get a chance I will have a look at the feasibility of that evolution. I would like to have a second pair of eyes through the process, would you have time to jam with me on this?

@neilff do you have an opinion?

mischkl commented 7 years ago

Hi @hally9k and @neilff,

I'd be more than happy to provide a second pair of eyes and potentially contribute in any way. :)