React JS Quiz
HomeBlogPrivacy PolicyContact UsInterview QuestionsNewTutorialsBuy me a coffee
  1. Home
  2. /Quizzes
  3. /React Basics Quiz

React Basics Quiz

Test your knowledge of React basics with this quiz.

19 questions · free · answers explained

Start the quiz
Advertisement

All questions in this quiz

  1. React is a JavaScript library for building ___.
  2. User interface developed with React is made of small and isolated pieces of code called ___.
  3. What are the two main types of components in React.js?
  4. A React component takes in parameters called ___?
  5. To write HTML in react we make use of ___?
  6. JSX Stands for ___?
  7. React DOM uses ___ case property naming convention?
  8. ___ are the smallest building blocks of React apps.
  9. Can we update the React elements once they are rendered?
  10. Applications built with just React usually have a single ___?
  11. A component name must start with a ___ letter
  12. Can we render a React component from another component?
  13. Can a component modify its own props?
  14. Which component lifecycle method runs after the component output has been rendered to the DOM?
  15. Which component lifecycle method is used to perform the cleanup when the component is removed from the DOM?
  16. State of a component is often called ___ data?
  17. In React, data flows in ___?
  18. In order to prevent a component from rendering it should return ___?
  19. If a component returns null, are its lifecycle methods still called?

Prefer to read first? React interview questions with written answers.

Support the developer