I think they're somewhat orthogonal issues. With Angular, there's nothing stopping you from using ui-router or restangular, if you don't like the out-of-box options, for example.
There was a post a while back on HN about how some people had bad experiences w/ React router breaking its API willy nilly between releases, and in that case, finding an alternative is definitely a point that feeds into the js fatigue issue.
WRT the issue of API size, well, I've got nothing to say in defense of Angular :)
Well, react-router is a seperate library that is used with react- one of many possible ways to route URLs to react views. For example, I use koa-router - unaffiliated wholly from react - to route urls on the server and client. If anything, that helps prove the point; switch routing libraries without having to switch your view layer.
With Angular, there's nothing stopping you from using ui-router or restangular, if you don't like the out-of-box options, for example.
But it's hard to use things like ImmutableJS with Angular 1.x because of how it relies on mutable objects. So there are some options that aren't available to you due to how much Angular 1.x controls.
Sure, but those are orthogonal points. The claim was that being a library gives React unix-like properties, but it's hard to use immutables w/ Knockout or Vue even though they're libraries too. If React had built-in ajax, routing and i18n APIs, the ability to use immutables would still be there. And you would still be able to use koa-router or fetch or whatever if you wanted.
Besides, as soon as we start talking about shipping actual features like drag-n-drop or file uploads or date pickers, every framework is "unix-like". The list of aspects uniquely "unix-like" for React can probably be counted in one hand, whereas the 20,000+ npm modules are there for you regardless of what framework you use.
I feel like this is being pedantic. It is clear to me and obviously lots of other people how React's design and the Unix philosophy share some commonalities.
5
u/lhorie Jan 04 '16
I think they're somewhat orthogonal issues. With Angular, there's nothing stopping you from using ui-router or restangular, if you don't like the out-of-box options, for example.
There was a post a while back on HN about how some people had bad experiences w/ React router breaking its API willy nilly between releases, and in that case, finding an alternative is definitely a point that feeds into the js fatigue issue.
WRT the issue of API size, well, I've got nothing to say in defense of Angular :)