Question Bank

3705 approved questions from the community

Which company developed and maintains TypeScript?

EASY
SINGLE CHOICE
20s
TypeScript
by Mohamed

Render props pattern means a component receives:

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

For async fetching in React, what helps avoid stale response bugs?

MEDIUM
SINGLE CHOICE
40s
React
by Mohamed

What does one-way data flow in React imply?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

A scalable way to reduce context-triggered rerenders is to:

HARD
SINGLE CHOICE
45s
React
by Mohamed

What is code splitting mainly intended to improve?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

React Portals are most useful when you need to:

EASY
SINGLE CHOICE
30s
React
by Mohamed

Which testing style is most aligned with modern React guidance?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What do Error Boundaries catch?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is the main use of `forwardRef`?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

Which scenario is best for `useCallback`?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is a key timing difference between `useEffect` and `useLayoutEffect`?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What does an empty dependency array in `useEffect` mean?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

When should you prefer `useReducer` over `useState`?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

Which statement is correct about `props` vs `state`?

EASY
SINGLE CHOICE
30s
React
by Mohamed

In a list render, what is the primary purpose of `key`?

EASY
SINGLE CHOICE
30s
React
by Mohamed

Which description best matches React's role in frontend development?

EASY
SINGLE CHOICE
30s
React
by Mohamed

What is `useMemo` mainly for?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

React Fragments let you return multiple children without adding extra DOM wrappers.

EASY
TRUE FALSE
20s
React
by Mohamed

Defining nested function components inside parent components is a recommended pattern.

MEDIUM
TRUE FALSE
25s
React
by Mohamed
PreviousPage 112 of 186Next