WorksheetsWD Frontend 9-12 Level 3
Total questions: 7
Worksheet time: 4mins
1. Everything in React is a _____________
Modul
Component
Package
Class
How many elements does a react component return?
1 Element
2 Elements
Multiple Elements
None of them
What is state in React?
A persistant storage.
An internal data store (object) of a component.
What is ReactJS?
Server side Framework
User-interface framework
A Library for building interaction interfaces
None of These
What are the two ways that data gets handled in React?
state & props
services & components
What is the declarative way to render a dynamic list of components based on values in an array
Using the reduce array method
Using the <Each /> component
Using the Array.map() method
With a for/while loop
Name the function used to change the state of react component
setState
changSetState
State
Borh A and B
