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 />