H
H
hulktoster2021-11-08 20:41:38
React
hulktoster, 2021-11-08 20:41:38

Does React or Vue have their own constructs?

React.js and Vue.js are based on javascript and respectively use the following main parts of it:
- data types
- data storage locations (variables, objects, arrays, classes)
- operators
- constructs
- built-in functions and methods

Essentially both the React library and the framework Vue differs from pure javascript in that they have a set of modules, where additional ready-made functions, classes, etc. are written in files. And we can say that this is a type of built-in functions / methods, only these are already built-in functions of a library or framework.

Can these two technologies have their own designs. Like if-elseor cycle for?
Or can they only use javascript language constructs?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2021-11-08
@hulktoster

React has jsx, View has custom tag attributes. If these are considered "language constructs", then they can. Only in the browser they will not work, you need to compile to "normal" javascript.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question