M
M
Mikhail Yurievich2016-12-09 15:52:51
Angular
Mikhail Yurievich, 2016-12-09 15:52:51

Moving a project from jQuery to Angular 1 or Angular 2 or React?

We have: a project for SEOs in the open beta stage ( https://spyserp.com/ ), there are many tables and graphs inside, the current state of affairs:

  • server-side rendering
  • on client ajax(jQuery)
  • tables and graphs are voluminous and there are already problems with rendering performance

The stage has come to refactor the frontend using one of the above frameworks, please share your experience in choosing, list the pros and cons
A small list of questions:
  • Lots of tables, lots of data in the browser - which is more performant than Angular or React?
  • If Angular, which one to choose? 1 or immediately 2?
  • What framework allows you to focus more on frontend logic than tinkering with the framework itself? Angular or React?

Questions are not idle, I hope for your help in choosing

Answer the question

In order to leave comments, you need to log in

6 answer(s)
B
beduin01, 2016-12-10
@beduin01

I strongly advise vuejs.org Vue is more modern and faster than React will be

I
iBird Rose, 2016-12-09
@iiiBird

https://youtu.be/XQM0K6YG18s?t=16m46s watch from 16m46s

F
Frozen Coder, 2016-12-09
@frozen_coder

I am for React + Redux. It is necessary to delve into the minimum. If you know JavaScript, then you don't need anything else to understand. Habré is full of articles to get you started. It is not necessary to memorize any magic words (like ng-something, ng-this).
I don’t know about the second Angular, but the React + Redux solution will be faster than the first version.
More freedom. Less specific syntax and invisible magic than Angular.
Cons - you have to make a lot of your own decisions about how best to do it and choose between a wide variety of extras. lib, but this is also a plus.
Instead of Redux, you can try MobX.
Angular2 is actively evolving, it seems that it just came out, and already 2.3. And I would classify TypeScript as a plus - I love typing. But React has Flow.
I'm leaving 1st Angular. I don't like scope and two-way binding. Does it make sense to switch to 1st in the long run when there is no future? IMHO. The question is chilly. Try both or three options and choose for yourself what you like.

R
Roman, 2016-12-16
@uaKorona

You need to answer the question - do you need SEO for your site?
If "Yes" - then I would not take angular 1+, it will be painful)
Yes, and you will have to tinker with performance, large amounts of data - especially if they are not static, but involve some kind of action, will be a problem.
It remains Angular 2 or React
Both support server rendering (if SEO)
Both are productive
React will be older - this means that in most cases, you can find answers in the community
. Like me, Angular 2 is still damp. But there is TypeScript - strong typing, interfaces, generics.
In any case, choosing from these two - you will not lose

_
_ _, 2016-12-09
@AMar4enko

React or Angular2
With your sources, React.

A
Alex, 2016-12-16
@streetflush

Angular 1 is not worth taking, because has known performance issues with little experience with it.
Angular 2 requires understanding and the right approach to use. But this is a ready-made framework. Learned, realized and work.
React is a DOM manipulation library. Here you can quickly start by mastering the documentation and jsx. But if there is a lot of data and complex logic, then you cannot do without third-party libraries like Redux.
I took Angular 2 for myself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question