SlideShare a Scribd company logo
ReactJS
A javaScript library for building user interfaces
By - Sapna
What is React?
A response to something!
Frontend Framework
● Frontend framework from
● A rich library for creating user interfaces.
● A component based system.
Why React?
Core Concepts
JSX
● Allows you to mix HTML with JavaScript
Components
● Independent, reusable pieces
The Flow
● Unidirectional data flow.
Virtual DOM
● An abstraction of HTML DOM. Virtual DOM is light weight.
● Reacts local and simplified copy of HTML DOM.
● Virtual DOM where your components actually live.
● Allows React to do its computations within this abstract world.
Virtual DOM
DOM
The good
● Simplicity
● Components are just function of states.
● Efficient
● Testability
● It's awesome for SEO
The bad
● No application framework.
● React is only a view layer.

More Related Content

Introduction to Reactjs