What is react ?
- Building large applications with data that changes over time
- Automatically handle UI updates which means it handles UI components while data updates or changes
- It works under Virtual DOM and synthetic events concepts
- You can write your own reusable components
What is Virtual DOM in React?
Project URL : http://facebook.github.io/react/index.html
Sample Hello World:
<meta http-equiv='Content-type' content='text/html; charset=utf-8'>
<title>Hello world Example</title>
React.DOM.h1(null, 'Hello, world!'),
React.renderComponent(component,object). First argument is which component and second argument for where you want to render that component(by Id object or By class Object). While you call this method then only changes will updated from virtual DOM to DOM.
Just i have given what is react and what Virtual DOM role in react….
We will see practical tutorial upcoming articles ….