This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It’s important to remember React is “just the V in MVC” or “just the view layer”. React isn’t trying to be a full fledged framework. | |
a)React.js Fundamentals: | |
1.Components are the building blocks of React. You can think of a component as a collection of HTML, CSS, JS, and some internal data specific to that component. | |
2.JSX — Allows us to write HTML like syntax which gets transformed to lightweight JavaScript objects. | |
3.Virtual DOM — A JavaScript representation of the actual DOM. | |
4.React.createClass — The way in which you create a new component. | |
5.render (method) — What we would like our HTML Template to look like. | |
6.ReactDOM.render — Renders a React component to a DOM node. |