S
S
source20032016-10-07 20:26:31
JavaScript
source2003, 2016-10-07 20:26:31

Should I use Angular2 with ES6?

I needed to make a SPA, and in order to gain more experience and use a strict application structure, the choice fell on Angular2, after looking at a few guides, I realized that most people write in TS when working with Angular.
Actually, can I get by with ES6 when working with Angular, if I don’t want to delve into TS at all, or will nothing good come of this approach?
Also if anyone has experience with Angular2 on TS and ES6 please describe the advantages and disadvantages of TS.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-10-07
Protko @Fesor

Actually can I get by with ES6 when working with Angular

You can , the question is rationality.
Although the code on TS is not much different, it is still different. And since most of the educational materials on Angular will still be on TS, it’s worth considering. And not so bad TS.

J
JN0iZzze, 2016-10-08
@JN0iZzze

I use TS and I like it, there are some unusual moments in comparison with ES6, but in general, the code on TS turns out to be more accurate and readable in my opinion.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question