>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
Match the descriptions to these refs terms: useRef, DOM ref, useImperativeHandle, Callback ref. | SWE Maxx
← Question bank
React · Matching
Difficulty: Hard
Match the descriptions to these refs terms: useRef, DOM ref, useImperativeHandle, Callback ref.
Refs
Concept relationships
Choose a match for every item. Use each answer once.
It can expose a small set of methods instead of the complete underlying DOM node.
Choose a match
DOM ref
useImperativeHandle
useRef
Callback ref
Callback refs support setup tied to the attachment of a specific rendered node.
Choose a match
DOM ref
useImperativeHandle
useRef
Callback ref
A DOM ref permits targeted imperative work such as focusing an input.
Choose a match
DOM ref
useImperativeHandle
useRef
Callback ref
UseRef stores a persistent reference for values that are not part of rendering state.
Choose a match
DOM ref
useImperativeHandle
useRef
Callback ref
Check answer
More in React →