Skip to content

Instantly share code, notes, and snippets.

@embarq
Last active February 12, 2018 07:50
Show Gist options
  • Select an option

  • Save embarq/156c0e60b23f01b020b8be66c2e18141 to your computer and use it in GitHub Desktop.

Select an option

Save embarq/156c0e60b23f01b020b8be66c2e18141 to your computer and use it in GitHub Desktop.

React Interview Questions

original

  1. What is React?
  2. What are the features of React?
  3. List some of the major advantages of React.
  4. What are the limitations of React?
  5. What is JSX?
  6. What do you understand by Virtual DOM? Explain its working.
  7. Differentiate between Real DOM and Virtual DOM.
  8. Why can’t browsers read JSX?
  9. How different is React’s ES6 syntax when compared to ES5?
  10. How is React different from Angular?
  11. What do you understand from “In React, everything is a component.”
  12. Explain the purpose of render() in React.
  13. How can you embed two or more components into one?
  14. What is Props?
  15. What is a state in React and how is it used?
  16. Differentiate between states and props.
  17. How can you update the state of a component?
  18. What is arrow function in React? How is it used?
  19. Differentiate between stateful and stateless components.
  20. What are the different phases of React component’s lifecycle?
  21. Explain the lifecycle methods of React components in detail.
  22. What is an event in React?
  23. How do you create an event in React?
  24. What are synthetic events in React?
  25. What do you understand by refs in React?
  26. List some of the cases when you should use Refs.
  27. How do you modularize code in React?
  28. How are forms created in React?
  29. What do you know about controlled and uncontrolled components?
  30. What are Higher Order Components(HOC)?
  31. What can you do with HOC?
  32. What are Pure Components?
  33. What is the significance of keys in React?
  34. What were the major problems with MVC framework?
  35. Explain Flux.
  36. What is Redux?
  37. What are the three principles that Redux follows?
  38. What do you understand by “Single source of truth”?
  39. List down the components of Redux.
  40. Show how the data flows through Redux?
  41. How are Actions defined in Redux?
  42. Explain the role of Reducer.
  43. What is the significance of Store in Redux?
  44. How is Redux different from Flux?
  45. What are the advantages of Redux?
  46. What is React Router?
  47. Why is switch keyword used in React Router v4?
  48. Why do we need a Router in React?
  49. List down the advantages of React Router.
  50. How is React Router different from conventional routing?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment