3 ms·
> I took 40+ hours of Angular 1.5 code and converted it to React code in a single 8 hour work day That doesn't seem like a fair comparison considering that whe
by cname 11y ago
> I took 40+ hours of Angular 1.5 code and converted it to React code in a single 8 hour work day
That doesn't seem like a fair comparison considering that when you first wrote that code, you probably had to figure out things unrelated to whatever framework you were using and didn't have to deal with that aspect when porting to React.
For example, if I rewrote a Django app in Pyramid, it wouldn't take as long as writing the original app even with the overhead of learning Pyramid, because I've already figured out the functional aspects of the app.
Generally speaking, learning frameworks isn't the hard part of writing an app, unless the app is trivial.
- true_religion 11y agoThat goes without saying.... I took it as a statement of "someone new to the framework, can quickly rewrite their old code" if they came from Angular. Which is an important metric. When I converted a Backbone app to Angular, it took 3x as long simply because of the amount of ceremony and process that I had to go through to do things the idiomatic Angular way. React on the other hand, as a view layer, is so dead simple that you can internalize its workings within hours of study. The complexity with React comes with everything else---Redux, React-Router, GraphQL, CSS in React, etc. None of that stuff is defined as part of the React framework itself, but that's the only way you can make a "fair comparison" to Angular which is a full-stack framework.