6
Sumafu
7y

Today a member of an other team said that React would be better than Angular 2. Mainly because React allows HTML inside the components declaration and One-Way-Data-Binding.
Me then: Sure, but Angular 2 also has this features 😞

Comments
  • 0
  • 0
    My mind translates that to "I'd rather use react only because I'm stupid"
    Haha. Although I'm an Angular fan boy, I'm aware of the advantages of react. Not knowing them and still saying it's better is just as stupid as saying Android is way better than iOS only because it has more users.
  • 0
    @jstaiyou surely if it has more users it is more popular thus it must be better?
  • 0
    @jonjo or only cheaper and yes, with more users but fewer willing to pay for apps
  • 1
    I see IOS people as those who love gimmicks and graphics. People who would pay extra for the brand because they think it is better. Android is the sensible option and gives you the same result.
  • 0
    I know. @jonjo I think you're not getting the point...
  • 2
    React ≠ framework. Therefore should not be compared to a full blown framework like Angular.
  • 0
    My one gripe with angular 2 is the commitment you pretty much have to make to typescript--typescrpt itself is cool, but all that configuration is frankly quite daunting to me
  • 0
    @w0ble This guy gets it...
  • 0
    @w0ble @nblackburn No, he doesn't. Stop with the "react is a library" nonsense! When people say they use react they mean they use the react ecosystem - react/preact... For view flux/redux... For state management, react router for routing and libraries that are specific to rect methodology. Maybe once react was only a library but now (with friends which are pretty much mandatory) it's a full blown framework.
  • 0
    @solocode React is a UI library, nothing more...the other modules are entirely optional.
  • 0
    @nblackburn when you use react usually your whole code looks in a "react" way. It's not just "ohh, here I need a complex component I'll just make it in react" but it's - "the entire body is built with react, the state management system is built with a library built specifically for react, routing is handled with a router that is built specifically with react, your bable has a jsx complier and the editor has specific code completions that handles specifically react code.
  • 1
    @solocoder as does every other decent framework but we distinguish them because they are not required in all cases.

    That's the whole point of modular code, you use what you need not just include a huge library and have to deal with the bloat.

    Sure, it might be built for React but the clue is there "built for" not "built in" hence they are NOT the same.
  • 0
    I used to love Angular before they turned it into the monster it is now.
  • 0
    @nblackburn but still it's not comparing "apples to oranges" comparing the use of angular to the react ecosystem. You can say that react ecosystem is more modular (although in angular you are not required to use all the parts too, they are just made by the same people and are tested together) but you can't say they are not comparable since one is a library and the other is a framework.
  • 0
    @solocoder I absolutely can say that because React is a UI framework. Sure it can be extended to be more and nobody disagreed but in it's default state it's not more where as Angular is.
  • 0
    You are arguing an ecosystem is comparable to a framework, let's drag Angular ecosystem in and see how it fairs...@solocoder
  • 0
    Ecosystem you say? Then you​ should use nodejs, because react or angular are both just modules there.
Add Comment