Podcast
Questions and Answers
Which type of component was considered 'state-less' before React 16.8?
Which type of component was considered 'state-less' before React 16.8?
- Complex component
- Class component
- Function component (correct)
- Stateful component
What is the main difference between Class components and Function components in React?
What is the main difference between Class components and Function components in React?
- Class components can communicate with other components
- Function components are preferred
- Class components are more complex (correct)
- Function components are stateful
Which type of component is now almost equivalent to Class components after the addition of Hooks?
Which type of component is now almost equivalent to Class components after the addition of Hooks?
- Class component
- Complex component
- Function component (correct)
- Stateful component
When should Class components be used in React?
When should Class components be used in React?
Are there any plans to remove Class components from React?
Are there any plans to remove Class components from React?
Which type of component was considered 'state-less' before React 16.8?
Which type of component was considered 'state-less' before React 16.8?
In React, when should Class components be used?
In React, when should Class components be used?
What is the main difference between Class components and Function components in React?
What is the main difference between Class components and Function components in React?
Are there any current plans to remove Class components from React?
Are there any current plans to remove Class components from React?
Which type of component is now almost equivalent to Class components after the addition of Hooks?
Which type of component is now almost equivalent to Class components after the addition of Hooks?
Flashcards are hidden until you start studying