Question Bank

246 approved questions from the community

Why might SSR improve perceived performance?

MEDIUM
MULTIPLE CHOICE
35s
React
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
40s
React
by Mohamed

What does one-way data flow in React imply?

MEDIUM
MULTIPLE CHOICE
30s
React
by Mohamed

A Higher-Order Component takes a component and returns a new component.

EASY
TRUE FALSE
20s
React
by Mohamed

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

HARD
MULTIPLE CHOICE
45s
React
by Mohamed

What is code splitting mainly intended to improve?

MEDIUM
MULTIPLE CHOICE
30s
React
by Mohamed

React Strict Mode can intentionally run some logic twice in development.

MEDIUM
TRUE FALSE
20s
React
by Mohamed

React Portals are most useful when you need to:

EASY
MULTIPLE CHOICE
30s
React
by Mohamed

Hydration is attaching React behavior to server-rendered HTML on the client.

MEDIUM
TRUE FALSE
20s
React
by Mohamed

Which testing style is most aligned with modern React guidance?

MEDIUM
MULTIPLE CHOICE
35s
React
by Mohamed

What do Error Boundaries catch?

MEDIUM
MULTIPLE CHOICE
35s
React
by Mohamed

Mutating React state directly is recommended for performance.

EASY
TRUE FALSE
20s
React
by Mohamed

What is the main use of `forwardRef`?

MEDIUM
MULTIPLE CHOICE
30s
React
by Mohamed

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

EASY
TRUE FALSE
20s
React
by Mohamed

What is `useMemo` mainly for?

MEDIUM
MULTIPLE CHOICE
30s
React
by Mohamed

Which scenario is best for `useCallback`?

MEDIUM
MULTIPLE CHOICE
35s
React
by Mohamed

`useRef` updates trigger rerenders by default.

MEDIUM
TRUE FALSE
20s
React
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
35s
React
by Mohamed

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

MEDIUM
MULTIPLE CHOICE
30s
React
by Mohamed

Hooks can be called inside loops if the loop always has the same length.

MEDIUM
TRUE FALSE
20s
React
by Mohamed
PreviousPage 12 of 13Next