React js interview question and answers

shape
shape
shape
shape
shape
shape
shape
shape
  1. What is React?

React is a javascript library to build interactive user interfaces and using react we can do

  • Create dynamic single-page applications
  • Reusable UI components
  • Virtual DOM
  • JSX(JavaScript XML)

2. Difference between angular and react?

React

javascript library to create UI(View)

can fit either single or multi-page applications

operates on virtual DOM; updates the real browser DOM

one-way Binding

Angular

Javascript framework to create complete front-end applications

forces to build single-page applications

Operates real browser DOM

Two-way Binding

3. What are the advantages of React?

  • Easy to learn and use
  • Creating dynamic web applications becomes easier
  • Reusable components
  • Performance Enhancement

4. What is JSX?

JSX stands for javascript XML

Leave a Reply

Your email address will not be published. Required fields are marked *