
What is a stateless component?
A component that doesn’t track its parent’s state.
A component that doesn’t track its own state.
A stateful component must have a props object.
False
True
To turn a stateless component into a stateful component, you must pass it a props object.
True
False
The process of lifting up state can lead to: Select all that apply.
A stateful child component controlling the state of a stateful parent component.
A stateful child component controlling the state of a stateless parent component.
A stateful component becoming a stateless component.
A stateless component becoming a stateful component.
A prop doesn't have to always pass state.
True
False
About the author
A passionate full-stack developer from @ePlus.DEV
Comments
Join the discussionNo comments yet. Be the first to comment.
React Basics
In this module you will explore the basic structure and use of the React.js library. You will learn how to produce single page web applications using React components and to use JSX to style them.






