Interview Questions
- Differentiate between Real DOM and Virtual DOM.
- What is React?
- What are the features of React?
- List some of the major advantages of React.
- What are the limitations of React?
- What is JSX?
- What do you understand by Virtual DOM? Explain its working.
- Why can’t browsers read JSX?
- How different is React’s ES6 syntax when compared to ES5?
- How is React different from Angular?
Real DOM | Virtual DOM. |
---|---|
It updates slow | It updates faster |
Can directly update HTML. | Can’t directly update HTML |
Creates a new DOM if element updates. | Updates the JSX if element updates. |
DOM manipulation is very expensive | DOM manipulation is very easy |
Too much of memory wastage |
Example:-