N
N
Nikita Shchypylov2018-02-20 10:12:20
typescript
Nikita Shchypylov, 2018-02-20 10:12:20

flow vs. TS? Do you need them for React?

Hello everyone
On upworks, more and more often they began to require knowledge of TS and / or Flow. Yesterday I saw this creation for the first time. That is, this is a new syntax, new subsets in webpack, and so on. React has not yet been fully mastered. Should I be distracted by Flow/TS now, and if so, what should I choose? It seems like TS is more popular, but Flow is made by Facebook, that is, the creator of React (is there some kind of ecosystem there?).
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim, 2018-02-20
@maxfarseer

Flow is user-friendly and minimalist*, I enjoy working with it. It helps to write code "a little stricter", in total, in a bunch of eslint + flow, you get clean and "stable" code. In addition to this, many editors immediately highlight what is wrong.
* - minimalistic, it seems so to me compared to TS. TS needs to be dealt with longer than with Flow, although this opinion may be erroneous, since I actively use flow, but did not work with TS.

A
Artur Bordenyuk, 2018-02-22
@HighQuality

Do not forget about the fundamental difference. TypeScript is another language that can now be compiled into Javascript.
Where this language will lead Microsoft is a difficult question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question