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
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
What is JSX?
Phone Screen ยท 705 views ยท jsx, syntax, transpilation
What is the difference between element and component in React?
Phone Screen ยท 656 views ยท concepts, architecture
Medium
27 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
Describe the `useRef` hook and its typical use cases.
Frontend ยท 1.1k views ยท hooks, useref, dom manipulation
How does React handle security concerns like XSS?
Frontend ยท 1.1k views ยท security, xss, jsx
useOptimistic โ how do you build instant UI for Server Actions?
Frontend ยท 1.1k views ยท useOptimistic, server-actions
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 'composition' in React components.
Frontend ยท 969 views ยท composition, components, design patterns
Hard
30 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 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 optimize React component rendering?
Frontend ยท 929 views ยท performance, optimization, memoization
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