Session 1: Getting started with React Js

What is React

React is a front-end framework to create a UI. React is a JavaScript library for building components.
React is light weight representation of the memory which is called virtual DOM. Each react element is a plain java-script object.
In react, we simply change the state of our components and react will sync with Real DOM by itself.
Each page can divided into components like:
left pane, navbar, app.
These components are created with the help of react js.

React or Angular:

Both of these have component based architecture. But angular is  framework, a complete solution and react is a library. React only take care of rendering the view and view is in sync with the state.
For working with react you can easily use the other libraries like routing, calling https etc. With you get the libraries to be used also with react.

Important Terms to Know Before start coding  in React:

What is Node.js?

Node.js is a run-time environment that executes JavaScript server-side.

What is npm?

npm: Node Package Manager.
npm is the default package manager for the Node.js. The package manager makes it easier for programmers to publish and share source code of Node.js libraries and is designed to simplify installation, updating, and uninstalling of libraries.

What is JSX?

JSX : JavaScript syntax extension.
It used with React to describe UI elements. JSX code must be transpiled to plain JavaScript before it can run in a browser.

What is webpack?

webpack bundles JavaScript files so they can run in a browser. It is used to specify a compiler, such as Babel or TypeScript, to transpile JSX or TypeScript code to plain JavaScript.


Comments

Popular posts from this blog

Interaction with UI from windows service

.Net Basic terminology

Basics of .Net