Angular vs React vs Ember?

Angular vs React vs Ember?
0

#1

I am comparing several frameworks today and am wondering if anyone has any input on this. I have used Angular a little, React a lot more, and only basically know how Ember works.

If you have used any of these three, what is your opinion and which do you like the best?


#3

I have been liking react because of the speed and small api. I have been reading about something called glimmer with Ember that is supposed to make it just as fast as react. Have you used glimmer before in your apps?


#4

Elm is neat. Still learning it. Elm just got an update that is supposed to make it even easier.


#5

Nope, I have never used Glimmer with Ember.


#6

You might be interested to know that since this forum is powered by Discourse, which means you’re using an Ember app right now :wink:

Most of the big frameworks today will ultimately help you achieve the same thing but in different ways. One is not objectively better than the other. And much like learning a programming language, as long as you properly grok one framework it’ll be easier to learn others later if and when you realise your first pick wasn’t quite what you needed.

If you’re having trouble deciding on which framework to learn first, one way to do it could be to browse through the “built with X” sites and try figure out which framework seems to be used most frequently by the type of company or app that you would most like to work with.


FCC forum URL changing without refreshing the page?
#7

Can someone share experience on CanJS vs React?


#8

I can share lots of experience with React now but not CanJS.

I think you should post this in a new thread so more people could answer that question for you.


#9

React JS is a view layer api. That said with JSX and Babel it gets reallt neat. I skipped data vizualization and decided to do backend second. I am on my next to last project and decided to do it in React because I have to learn it anyway.

Lessons learned: react router or similar will make your life easier. Everything is a componet. Like every little thing. No, it’s a componet too. Program everything by it self then add everything together. Oh and micro services are your friends. And the results are fast and really, really neat.

I am still wanting to learn angular2. They supposedly improved render performance. After that, I think rust may be next language to learn… Maybe c++ or haskell… But with electron becoming a thing, I am not sure how long the compiled languages will be a thing outside of gaming.


#10

Which do you prefer @gwenf ?
I have only briefly looked at Angular.js so far (a video on YouTube!)


#11

I prefer using React right now. I love how much easier and more intuitive it feels than Angular (I am referring to Angular 1 here). I haven’t user Angular 2 much yet but I am not sure about how it’s going to work in the long run out being that it’s completely different from Angular 1.

I have recently been playing with Ember as well and it’s pretty easy to get going quickly but I don’t like that everything is pretty much already configured for me.

I personally like being able to scaffold my own apps and install just the modules I need. I like that React is much lighter weight but I would probably use Ember if I needed something built quickly without needing to scale it.


#12

Another bit of advice for React: use Flux, Redux, RxJS, or some sort of state management that isn’t React itself. Forget that setState even exists on components, and try to make as many pure functional components as you can. It’s an extra step that may feel cumbersome and unnecessary at first, but managing state in a web app will drive you completely insane if you don’t tackle it early.


#13

I had a lot of problems with state and passing it around as props until I started using Redux. Now it’s so much easier but I still leave as many components ‘dumb’ as possible.


#14

Here is good comparison of Angular, React and Ember: https://qubit-labs.com/comparison-of-javascript-frameworks-angular-js-vs-react-js-vs-ember-js/.