Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
Easy
17 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 are React Developer Tools and how do you use them?
Frontend ยท 893 views ยท debugging, tools, developer experience
What is the purpose of the `key` prop when rendering lists in React?
Frontend ยท 891 views ยท lists, keys, performance
Explain the concept of 'lifting state up' in React.
Frontend ยท 813 views ยท state management, data flow, props
What are the advantages of using React over plain JavaScript?
Frontend ยท 808 views ยท benefits, declarative, components
How do you pass data between components in React?
Phone Screen ยท 803 views ยท props, data flow, component communication
Explain the concept of 'unidirectional data flow' in React.
Frontend ยท 792 views ยท data flow, state management, architecture
Medium
32 questionsWhat 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
useTransition vs startTransition โ when to use which?
Frontend ยท 1.1k views ยท concurrent, transitions
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
Explain the concept of reconciliation in React.
Frontend ยท 1.0k views ยท virtual dom, reconciliation, diffing
How do you handle asynchronous operations in React functional components?
Frontend ยท 930 views ยท async, useEffect, data fetching
Hard
32 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
What problem does `useSyncExternalStore` solve?
Frontend ยท 938 views ยท react, concurrent, state-management
How do you avoid re-renders with composition instead of memoization?
Frontend ยท 921 views ยท react, performance, composition
What is `useDeferredValue` and how does it differ from debouncing?
Frontend ยท 913 views ยท react, concurrent, performance
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question