Explore our extensive collection of questions and answers to enhance your learning experience and prepare for exams effectively
The express module is required to use Express.js.
preventDefault stops the default action of an event, like form submission.
useLayoutEffect runs synchronously after DOM mutations.
useRef().current allows direct DOM manipulation.
Fragments group elements without adding extra DOM nodes.
useMemo prevents re-computation of expensive functions.
setState(() => {}) allows updating state based on previous state.
useImperativeHandle customizes the instance value exposed by ref.
componentWillMount is deprecated in modern React.
Context provides a way to share data globally without prop drilling.