Chuyển tới nội dung chính

Câu hỏi mới đã được thêm!Khám phá ngay

frontendprofrontendpro
Tổng quan
Tất cả câu hỏi luyện tậpFrameworks / ngôn ngữĐịnh dạng câu hỏiTất cả quiz
GIẢM 20%

Hoàn thành nhiệm vụ đơn giản để mở khóa ưu đãi

Xem nhiệm vụ
frontendprofrontendproTổng quan
Đăng nhập
GiáMỚITruy cập đầy đủĐăng nhập
frontendprofrontendpro

Tài liệu Software Engineering

Luyện tập

  • Tất cả câu hỏi
  • Tất cả quiz
  • Tất cả tài liệu

Khám phá

  • Tổng quan
  • Tiết kiệm thời gian
  • Frameworks / ngôn ngữ

Tài khoản

  • Đăng nhập
  • Đăng ký

© 2026 frontendpro. Bảo lưu mọi quyền.

DiscordLinkedInGitHub

Câu hỏi phỏng vấn

Nếu bạn mới bắt đầu phỏng vấn frontend, chúng tôi khuyên bạn bắt đầu với danh sách cơ bản.

Quiz
19câu hỏi8giờ tổng

Explain what happens when the `useState` setter function is called in React

## TL;DR When the setter function returned by the hook is called in React, it schedules an update to the component's…

UI codingNâng cao

How does virtual DOM in React work? What are its benefits and downsides?

## TL;DR The virtual DOM in React is a lightweight copy of the actual DOM. When the state of a component changes, Rea…

UI codingNâng cao

What is the difference between `useEffect` and `useLayoutEffect` in React?

## TL;DR Both hooks run side effects after render, but they differ in when they fire relative to paint: - runs as…

UI codingNâng cao

Explain the presentational vs container component pattern in React

## TL;DR The presentational vs container component pattern (also known as "dumb vs smart components") splits componen…

UI codingNâng cao

Explain the composition pattern in React

## TL;DR The composition pattern in React is the practice of building UIs by combining smaller, reusable components i…

UI codingNâng cao

Explain static generation of React applications and its benefits

## TL;DR Static generation (SSG) pre-renders pages to HTML at build time, instead of rendering them per request. The…

UI codingNâng cao

Explain server-side rendering of React applications and its benefits

## TL;DR Server-side rendering (SSR) in React involves rendering React components on the server and sending the resul…

UI codingNâng cao

How do you reset a component's state in React?

## TL;DR The most idiomatic way to reset a component's state in React is to give the component a prop and change it…

UI codingNâng cao

What are React Portals used for?

## TL;DR React Portals are used to render children into a DOM node that exists outside the hierarchy of the parent co…

UI codingNâng cao

What is the difference between React Node, React Element, and a React Component?

## TL;DR A React Node is anything React can render: a React Element, a string, a number, an array of nodes, a fragmen…

UI codingNâng cao

Explain what React hydration is

## TL;DR React hydration is the process of attaching event listeners and making a server-rendered HTML page interacti…

UI codingNâng cao

How do you decide between using React state, context, and external state managers?

## TL;DR Match the tool to the kind of state. Use / for local component state, and lift state up before reaching for…

UI codingNâng cao

Explain one-way data flow of React and its benefits

## TL;DR In React, one-way data flow means that data moves in a single direction: from parent components down to chil…

UI codingNâng cao

What is the purpose of the `key` prop in React?

## TL;DR The prop tells React how to identify each child in a list across renders so it can match the right componen…

UI codingNâng cao

How do you localize React applications?

## TL;DR To localize a React application, you typically use a library like or . First, you set up your translation f…

UI codingNâng cao

How do you handle asynchronous data loading in React applications?

## TL;DR In a modern React app, don't roll your own + for data loading — the React docs explicitly recommend agains…

UI codingNâng cao

What is the Flux pattern and what are its benefits?

## TL;DR The Flux pattern is an architectural design Facebook introduced for managing state in React applications. It…

UI codingNâng cao

How do you debug React applications?

## TL;DR To debug React applications, use the React Developer Tools browser extension to inspect the component tree,…

UI codingNâng cao

What is the difference between controlled and uncontrolled React Components?

## TL;DR A controlled component drives a form input from React state — you pass / plus an handler, and React state i…

UI codingNâng cao