Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
Easy
7 questionsWhat are React Hooks? Name a few common ones.
Frontend ยท 1.1k views ยท hooks, functional components, state
createContext vs use(Context) โ new context consumption in React 19
Frontend ยท 1.1k views ยท context, react-19
What are React Developer Tools and how do you use them?
Frontend ยท 893 views ยท debugging, tools, developer experience
Explain the concept of 'lifting state up' in React.
Frontend ยท 813 views ยท state management, data flow, props
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
How do you debug React applications?
Frontend ยท 358 views ยท debugging, dev tools, error handling
Medium
12 questionsWhat is the difference between `useState` and `useReducer`?
Frontend ยท 1.2k views ยท hooks, state management, useState
The `use()` API with Suspense โ how do you unwrap promises in render?
Frontend ยท 1.1k views ยท use-api, suspense
What is the Context API in React and when would you use it?
Frontend ยท 913 views ยท state management, context api, props
What is the difference between useMemo and useCallback?
Frontend ยท 750 views ยท hooks, performance, optimization
How do you prevent unnecessary re-renders in functional components?
Frontend ยท 706 views ยท performance, optimization, react.memo
When would you choose a class component over a functional component with hooks?
Frontend ยท 610 views ยท class components, functional components, hooks
What is 'prop drilling' and how can it be avoided?
Frontend ยท 553 views ยท prop drilling, context api, state management
How do you manage global state in a large React application?
Frontend ยท 539 views ยท state management, context api, redux
Hard
8 questionsWhat is `useFormStatus` in React 19, and why does it exist?
Frontend ยท 1.1k views ยท react, react-19, hooks
What are Portals in React and when would you use them?
Frontend ยท 888 views ยท portals, dom, ui
Why does updating Context re-render all its consumers, and how do you fix it?
Frontend ยท 637 views ยท react, context, performance
Why must React state updates be immutable?
Frontend ยท 601 views ยท react, state, immutability
What does the `use()` hook do, and why is it special?
Frontend ยท 528 views ยท react, suspense, data-fetching
When does `React.memo` do nothing โ or actually hurt performance?
Frontend ยท 404 views ยท react, performance, memoization
How does automatic batching work in React 18, and how do you opt out?
Frontend ยท 114 views ยท react, react-18, rendering
What changed with Context in React 19 (`<Context>` as a provider)?
Frontend ยท 63 views ยท react, react-19, context
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question