Gap Glue
TopicsPracticeChallengesCollectionsLeaderboardQuestions

Question Bank

133 approved questions from the community

Add Question
All
EASY
MEDIUM
HARD

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

MEDIUM
TRUE FALSE
20s
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

What is the main use of `forwardRef`?

MEDIUM
MULTIPLE CHOICE
30s
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

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

MEDIUM
MULTIPLE CHOICE
35s
React
by Mohamed

Using array indices as keys is always safe, even for reorderable lists.

MEDIUM
TRUE FALSE
20s
React
by Mohamed
PreviousPage 7 of 7
Gap Glue
Privacy PolicyTerms of Service

© 2026 Gap Glue. Built for developers who love challenges.