Re:Angular 2 First App Post-Mortem
by cheez on Friday January 22, 2016 @07:25PM
(#10956502)
Uh... I'm relatively new to JS but why the heck are you mixing Redux and angular?
[ Parent
| on HN ]
Redux can be used in any javascript app. Its a pattern, not something stuck to react.
True, but with redux and angular, now you have two things where state could live.
You have 2 possibilities yes, but afaict Angular 2 doesn't push you to use 'its way', unlike the early days of Angular 1 where 'the way' to do state was $scope.
So I could see how you could comfortably use Angular 2 with Redux as long as your team was on-board to always do state the Redux way.
Give a developer an inch and they'll take the football field. Maybe that's an acceptable risk, but I wouldn't take that risk.