React JS

React js Interview questions Answer
  1. What is React?
  2. What are the major features of React?
  3. What is JSX?
  4. What is the difference between Element and Component?
  5. How to create components in React?
  6. What do you understand by Virtual DOM?
  7. Why can’t browsers read JSX?
  8. Explain the purpose of render() in React.
  9. How can you embed two or more components into one?
  10. What is Props?
  11. What is a state in React and how is it used?
  12. How can you update the state of a component?
  13. What is the arrow function in React? How is it used?
  14. What are the different phases of the React component’s lifecycle?
  15. What is an event in React?
  16. How do you create an event in React?
  17. What are synthetic events in React?
  18. What do you understand by refs in React?
  19. List some of the cases when you should use Refs.
  20. How are forms created in React?
  21. What are Higher Order Components(HOC)?
  22. What are Pure Components?
  23. What is the significance of keys in React?
  24. What were the major problems with the MVC framework?
  25. Explain Flux.
  26. What is Redux?
  27. What are the three principles that Redux follows?
  28. List down the components of Redux.
  29. How are Actions defined in Redux?
  30. Explain the role of Reducer.?
  31. What is the significance of Store in Redux?
  32. What is React Router?

Comments