Question Bank

1899 approved questions from the community

Which of the following can be rendered in React 16+? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
40s
React
by Mohamed

Which of the following are recommended practices when using keys? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
40s
React
by Mohamed

Which array methods should you prefer for updating state arrays? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
40s
React
by Mohamed

How can you prevent infinite loops with useEffect?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What does capture phase mean in React events?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is the Immer library commonly used for in React?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What are React Server Components?

MEDIUM
SINGLE CHOICE
40s
React
by Mohamed

What is the purpose of the useInsertionEffect hook?

MEDIUM
SINGLE CHOICE
40s
React
by Mohamed

What is React hydration?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is the windowing technique in React?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is the purpose of componentDidCatch lifecycle method?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What does StrictMode do in React?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

Which lifecycle methods are invoked during component unmounting? (Select all that apply)

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is the purpose of dangerouslySetInnerHTML in React?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is lifting state up in React?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is the purpose of cloneElement in React?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is the purpose of forwardRef in React?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is `useMemo` mainly for?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

What is the purpose of the key attribute in React lists?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What happens if you omit the dependency array in useEffect?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed
PreviousPage 57 of 95Next