React Basics Quiz
Test your knowledge of React basics with this quiz.
19 questions · free · answers explained
All questions in this quiz
- React is a JavaScript library for building ___.
- User interface developed with React is made of small and isolated pieces of code called ___.
- What are the two main types of components in React.js?
- A React component takes in parameters called ___?
- To write HTML in react we make use of ___?
- JSX Stands for ___?
- React DOM uses ___ case property naming convention?
- ___ are the smallest building blocks of React apps.
- Can we update the React elements once they are rendered?
- Applications built with just React usually have a single ___?
- A component name must start with a ___ letter
- Can we render a React component from another component?
- Can a component modify its own props?
- Which component lifecycle method runs after the component output has been rendered to the DOM?
- Which component lifecycle method is used to perform the cleanup when the component is removed from the DOM?
- State of a component is often called ___ data?
- In React, data flows in ___?
- In order to prevent a component from rendering it should return ___?
- If a component returns null, are its lifecycle methods still called?
Prefer to read first? React interview questions with written answers.