Frontend_ReactJS_SS32

Frontend_ReactJS_SS32

University

20 Qs

quiz-placeholder

Similar activities

Bài 29

Bài 29

10th Grade - University

15 Qs

PPL 223 - (QUIZ 3) Data Types and Structures

PPL 223 - (QUIZ 3) Data Types and Structures

University

15 Qs

MAN101_Quizziz SS1

MAN101_Quizziz SS1

University

20 Qs

Frontend_ReactJS_SS21

Frontend_ReactJS_SS21

University

20 Qs

XU HƯỚNG VÀ ĐỔI MỚI TRONG DỰ ÁN SỐ HIỆN ĐẠI

XU HƯỚNG VÀ ĐỔI MỚI TRONG DỰ ÁN SỐ HIỆN ĐẠI

University

15 Qs

Quiz Instance Store dan Amazon Elastic Block Store (Amazon EBS)

Quiz Instance Store dan Amazon Elastic Block Store (Amazon EBS)

1st Grade - University

17 Qs

Code Camp Quiz 2025 V1

Code Camp Quiz 2025 V1

6th Grade - University

20 Qs

Electronic Diary Systems Assessment

Electronic Diary Systems Assessment

10th Grade - University

15 Qs

Frontend_ReactJS_SS32

Frontend_ReactJS_SS32

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

academy rikkei

Used 6+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Thành phần store trong Redux có nhiệm vụ gì?

Gửi dữ liệu lên server

Kết nối component với API

Tạo layout cho UI

Lưu trữ và quản lý state toàn cục của ứng dụng

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong redux, action là gì?

Là các sự kiện phát sinh từ người dùng để gửi dữ liệu từ View đến Reducer

là một thành phần để cấu tạo lên giao diện của hệ thống

Một hàm để xử lý bất đồng bộ

Một HTTP request

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Luồng hoạt động cơ bản của Redux là gì?

Component → Store → Reducer → Action

Component → API → Reducer → Store

Action → Reducer → Store → View

API → Store → Component

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Component React cần sử dụng hook nào để lấy dữ liệu từ store?

useDispatch()

useSelector()

useStore()

useState()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ứng dụng React + Redux, thành phần nào bao bọc toàn bộ ứng dụng để cung cấp Redux store?

<Provider store={store}>

<StoreProvider>

<App>

<BrowserRouter>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Đoạn code dưới đây có mục đích gì trong component?

Gửi action để lấy dữ liệu từ store

Hiển thị nội dung dựa trên giá trị trạng thái lấy từ store

Tự động dispatch action mỗi khi render

Gọi API khi status là loading

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Tại sao không nên lấy toàn bộ state trong useSelector?

Dễ sai cấu trúc

Không lấy được dữ liệu

Không dùng được với dispatch

Làm component re-render mỗi khi bất kỳ phần nào của state thay đổi

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?