Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
Easy
9 questionsWhat are React Hooks? Name a few common ones.
Frontend ยท 1.1k views ยท hooks, functional components, state
How do you handle side effects in functional components?
Frontend ยท 971 views ยท hooks, useeffect, side effects
What is the role of `react-dom`?
Frontend ยท 956 views ยท react-dom, dom, rendering
What are React Developer Tools and how do you use them?
Frontend ยท 893 views ยท debugging, tools, developer experience
What is the difference between element and component in React?
Phone Screen ยท 656 views ยท concepts, architecture
How do you debug React applications?
Frontend ยท 358 views ยท debugging, dev tools, error handling
How do you manage component-level state without `useState` or `useReducer`?
Frontend ยท 280 views ยท state management, class components, legacy
What are React Components?
Phone Screen ยท 138 views ยท components, reusability, ui
Medium
19 questionsWhat are React's design principles?
Frontend ยท 1.2k views ยท design principles, declarative, components
What is the difference between `useState` and `useReducer`?
Frontend ยท 1.2k views ยท hooks, state management, useState
What is the purpose of the `deps` array in `useEffect` and `useCallback`?
Frontend ยท 1.1k views ยท hooks, usestate, usecallback
Describe the `useRef` hook and its typical use cases.
Frontend ยท 1.1k views ยท hooks, useref, dom manipulation
How would you structure a large React application?
Low-Level Design ยท 1.1k views ยท project structure, architecture, scalability
What are render props and how do they work?
Frontend ยท 1.0k views ยท patterns, reusability
Describe the React component lifecycle.
Frontend ยท 1.0k views ยท lifecycle, mounting, updating
Explain the concept of 'composition' in React components.
Frontend ยท 969 views ยท composition, components, design patterns
Hard
13 questionsWhat causes stale closures in React hooks, and how do you fix them correctly?
Frontend ยท 1.2k views ยท react, hooks, closures
What are Actions in React 19, and how do they change form handling?
Frontend ยท 1.1k views ยท react, react-19, actions
What is `useFormStatus` in React 19, and why does it exist?
Frontend ยท 1.1k views ยท react, react-19, hooks
What are Effect Events (`useEffectEvent`) and what problem do they solve?
Frontend ยท 994 views ยท react, hooks, effects
What does the `useActionState` hook do in React 19?
Frontend ยท 947 views ยท react, react-19, hooks
React Server Components vs SSR โ what is the real difference?
Frontend ยท 710 views ยท react, rsc, ssr
How does `useOptimistic` enable optimistic UI in React 19?
Frontend ยท 704 views ยท react, react-19, hooks
useEffectEvent โ separating reactive and non-reactive logic in Effects
Frontend ยท 680 views ยท hooks, effects
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question