I
I
Ilya Vatrushka2017-06-15 15:29:14
JavaScript
Ilya Vatrushka, 2017-06-15 15:29:14

Why do they use react, angular... instead of pure JS when developing on the web?

Hello, I recently mastered js and I think how to develop further. Can you tell me why all developers use frameworks and all sorts of JS libraries during development ... Which one to start learning from?) Or which one is better to focus on? How to pump your skill and hone your skills?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexey Sklyarov, 2017-06-15
@0example

Because it increases development speed and it's convenient. In work, you often have to write the same thing, and in order not to write the same thing for N time, frameworks are used. If you have a concrete mixer, why use a conventional shovel to mix the mortar? Same here.
You need to focus on the one that is more often used, or the one that is more often required for employers. For beginners, I know vue.js is great

R
Raphael™, 2017-06-15
@maxminimus

in fact, frameworks are primarily needed for easy replacement of programmers
in order to fire and find cheaper if you don’t like it,
this is the harsh reality of the capitalist world
so that programmers on the assembly line are standard combers-winders
this is work according to the template
look at freelance orders - everywhere rework reworking someone else’s code after the past a programmer with whom, for some reason, the customer does not want to work further,
for example, I write in vanilla js - and I don’t suffer from unnecessary complexity,
but alas, it’s not suitable for working on a conveyor

N
ngame, 2017-06-15
@ngame

Advice based on personal experience: the best framework is VanillaJS. After you have learned it really well, all questions

why all developers use frameworks and all sorts of JS libraries during development
will fall off on their own. I've seen a lot of developers working with Anguar but couldn't explain what a Promise is and how the virtual DOM works.

P
Peter, 2017-06-15
@petermzg

1. Why do they use react, angular when developing on the web?
Because they said that it was fashionable, it was modern and I immediately wanted to be in trend...
Programmer to an employer:
- I propose to develop a site on Angular 2, this is a modular solution, this is a server renderer, there is typescript with type checking. It's cool, we'll be on trend.
Employer: - Well, since you, as a specialist, think so, develop it.
After half a year, the programmer, having played enough, thinks: - Something I'm tired of this, I need to try something new. (leaves)
Employer:
- What's the f..., wow, programmers with this Angular 2 are demanding salaries, how can I finish the site cheaper.
2. Why do all developers use all sorts of JS libraries during development?
Because it speeds up website development.
You can write var divs = document.querySelectorAll('.class'), or you can write $('.class').click(function(){ ... })

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question