Javascript -> JavaScript (English) (#35183)

* Javascript -> JavaScript (English)

* Update technical documentation page for required change

* Update use-class-syntax-to-define-a-constructor-function.english.md

* Update left-factorials.md
This commit is contained in:
Lipis
2019-03-28 09:35:41 +01:00
committed by The Coding Aviator
parent fed6ffb606
commit e84ae45008
95 changed files with 192 additions and 192 deletions

View File

@@ -242,7 +242,7 @@ So lets do a quick recap. In your head tag you grabbed the script tags for Re
You then located the position within the DOM that you wanted to insert your React by creating an element `<div>` with the id of “app”.
Next, you created a script tag to input your React code. You used ReactDOM.render() method that takes two arguments. The “what” of the React content, in this case your JSX, and the second argument is the “where” that you want to insert the React content into the DOM. In this case it is the location with the id of “app”.
As an alternative to JSX, you can use ES6 and Javascript's compiler like Babel. [https://babeljs.io/](https://babeljs.io/)
As an alternative to JSX, you can use ES6 and JavaScript's compiler like Babel. [https://babeljs.io/](https://babeljs.io/)
### More Information:

View File

@@ -5,7 +5,7 @@ title: Why React
# Why React.js?
## Simplicity
React.js is not a full fledged Javascript framework like Angular.js or other popular frontend frameworks. Instead, React.js is a JavaScript library that acts as the 'V' in MVC (Model View Controller). It is simply a view engine that can be dropped in and used with a plethora of other tools for the data and model part of MVC (most popularly Redux and Node.js).
React.js is not a full fledged JavaScript framework like Angular.js or other popular frontend frameworks. Instead, React.js is a JavaScript library that acts as the 'V' in MVC (Model View Controller). It is simply a view engine that can be dropped in and used with a plethora of other tools for the data and model part of MVC (most popularly Redux and Node.js).
## Reusability
React allows you to create reusable components that you can modify with props. This gives a lot of flexibility in development and speeds it up by huge margins.