01 Feb 2019

React JS interview Question
1.  Differentiate between Real DOM and Virtual DOM. Real DOM Virtual  DOM 1. It updates slow. 1. It updates faster. 2. Can directly update HTML. 2. Can’t directly update HTML. 3. Creates a new DOM if element updates. 3. Updates the JSX if element updates. 4. DOM manipulation is very expensive. 4. DOM manipulation is very easy. 5. Too much of memory ...