Angular 5 vs. React When to Choose Which? - Beyond Java

[Pages:43]Angular 5 vs. React When to Choose Which?

? OPITZ CONSULTING 2017 ? OPITZ CONSULTING 2017

Stephan Rauh Dr. Marius Hofmeister

OPITZ CONSULTING Deutschland GmbH

Setting the Stage

? OPITZ CONSULTING 2017



Angular vs. React - When to Choose Which?

Seite 2

What People Say About Angular

update hell

two-way binding considered

bad

great tooling

complicated

Angular is slow

Angular is fast

But it's TypeScript!

dependency hell

dependency injection is

broken

too enterprisy

opinionated

great productivity

mediocre productivity

? OPITZ CONSULTING 2017

Angular vs. React - When to Choose Which?

Seite 3

What People Say About React.js

fast

unidirectional

data flow

great tooling

small footprint

requires TDD

integrates everywhere

It's simple JavaScript!

difficult to set up

easy to learn

I can use any library I

want

limited editor support

flexible

great productivity

mediocre productivity

? OPITZ CONSULTING 2017

Angular vs. React - When to Choose Which?

Seite 4

? OPITZ CONSULTING 2017

Image source: , ,

Angular vs. React - When to Choose Which?

Seite 5

What's Going On?

Different target audiences

Web developers vs. enterprise developers

Different use cases

Interactive web pages Web shops Back-office processing Internet vs intranet

? OPITZ CONSULTING 2017

Image source:

Angular vs. React - When to Choose Which?

Seite 6

History 101: AngularJS 1.x

Combined ideas from Backbone, Knockout, Web Components spec Made MVVM popular in the browser Declarative programming style Got rid of DOM manipulations Added dependency injection to JavaScript Brought custom components

? OPITZ CONSULTING 2017

Angular vs. React - When to Choose Which?

Seite 7

History 101: Migration to Angular 2+

AngularJS had a couple of issues Painful migration to Angular 2+ Many breaking changes of ng2

In the beta versions!

Frustrated developers left

? OPITZ CONSULTING 2017

Angular vs. React - When to Choose Which?

Seite 8

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download