
Usually, a React app consists of many components, organized as a component tree.
True
False
Uni-directional data flow is...
The term that describes the one-way flow of components in a React app
The term that describes the one-way flow of DOM updates in a React app
The term that describes the one-way flow of data in a React app.
A component can, at any given time_______. Select all that apply.
Receive data as props
Pass data as props and receive data as props at the same time
Pass data as props
You can only pass a single prop to a component.
True
False
The props parameter is:
An array
An object
A boolean
A string
Consider the following piece of code:
function MyMenu() { return ( <div> <Appetizers /> </div> ) }Which element of this code represents a child component?
MyMenu()
<div>
return
<Appetizers />
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.






