Question Bank
3705 approved questions from the community
Which company developed and maintains TypeScript?
Render props pattern means a component receives:
For async fetching in React, what helps avoid stale response bugs?
What does one-way data flow in React imply?
A scalable way to reduce context-triggered rerenders is to:
What is code splitting mainly intended to improve?
React Portals are most useful when you need to:
Which testing style is most aligned with modern React guidance?
What do Error Boundaries catch?
What is the main use of `forwardRef`?
Which scenario is best for `useCallback`?
What is a key timing difference between `useEffect` and `useLayoutEffect`?
What does an empty dependency array in `useEffect` mean?
When should you prefer `useReducer` over `useState`?
Which statement is correct about `props` vs `state`?
In a list render, what is the primary purpose of `key`?
Which description best matches React's role in frontend development?
What is `useMemo` mainly for?
React Fragments let you return multiple children without adding extra DOM wrappers.
Defining nested function components inside parent components is a recommended pattern.