B
B
bormor2018-12-21 17:04:21
Angular
bormor, 2018-12-21 17:04:21

What is important to know in TypeScript for a quick start with Angular4+?

What topics should be well-understood before learning Angular?
Which ones can be quickly referred to in the documentation along the way?
I would include something that is not in ES6 as an important topic:
- static typing and interfaces, optional parameters
- decorators
- public, private properties and methods
What would you advise?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Demian Smith, 2018-12-21
@bormor

All this knowledge will undoubtedly benefit, but they are not critical. Angular is very organically friendly with typescript and does not require any exotics. These topics can be found in the course of the play if you are interested. Generics can be added to your list, they are often used in Angular and it is desirable to understand what they are.
What is unrealistically important for comfortable work with Angular is RxJS. Rx represents a declarative approach to programming and completely blows the mind at first. The truth then you do not know how to live without it. Failure to understand RxJS is a guarantee of failure and resentment against the framework. Here is a video that might shed some light https://www.youtube.com/watch?v=3LKMwkuK0ZE. Do not waste time in vain and understand the topic in advance, so that later you do not regret the code written in vain.
Also, like most frameworks, Angular does not provide a state manager by default. Fragile minds store the global state directly in services. Which is not much different from using global variables. But for global states, there is NgRx. This is Redux on steroids. Again, you will have to deal with this so that in a year you will not be left with nothing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question