
SEB-72 Week 7 Beginnings of React
Authored by Lay Jones
Instructional Technology
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the new way to create a new React Project?
npx create vite
npm create-react-app MyApp
npm create vite
npx create-react-app my-app
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What command is used to start the React local server (using the new way of creating a react app)
npm run dev
npm run start
npm run build
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
I get a ' Adjacent JSX elements must be wrapped in an enclosing tag' error with this code, why might that be?:
return (
<div> div 1 </div>
<div> div 2 </div>
);
Each div requires a unique id or class
React can only return one parent jsx/html element, you need to put these divs inside of something else.
The return must be {} instead of ()
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In React, how can we pass the data from one component to another?
Props
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the useState hook in React?
To render elements on the page
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct syntax for useState?
const [setValue, value] = useState('initialValue');
const { value, setValue } = useState('initialValue');
const { setValue, value } = useState('initialValue');
const [value, setValue] = useState('initialValue');
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which is not an in-built hook in react
useRef()
useEffect()
useState()
useFetch()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Google X UR
Quiz
•
Professional Development
15 questions
IRTEC Legeslative
Quiz
•
Professional Development
13 questions
Guess The Logo (Social Media & Similar Apps)
Quiz
•
Professional Development
10 questions
IT Operations
Quiz
•
Professional Development
17 questions
TV shows and movies
Quiz
•
1st Grade - Professio...
8 questions
Order and Quote Maintenance
Quiz
•
Professional Development
13 questions
How well do you know???
Quiz
•
Professional Development
10 questions
แบบทดสอบ Capcut
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Instructional Technology
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L3_22-23
Lesson
•
KG - Professional Dev...
20 questions
Employability Skills
Quiz
•
Professional Development