Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
Easy
13 questionsWhat are React Hooks? Name a few common ones.
Frontend ยท 1.1k views ยท hooks, functional components, state
What is `PropTypes` and when would you use it?
Frontend ยท 1.1k views ยท prop-types, type checking, validation
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
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
14 questionsWhat 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
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
What is the Context API in React and when would you use it?
Frontend ยท 913 views ยท state management, context api, props
RSC vs Client Components โ when do you add 'use client' in Next.js 15?
Frontend ยท 853 views ยท rsc, nextjs, server-components
What are React custom hooks and when should you use them?
Frontend ยท 820 views ยท hooks, reusability
How do you prevent unnecessary re-renders in functional components?
Frontend ยท 706 views ยท performance, optimization, react.memo
Hard
11 questionsWhat causes stale closures in React hooks, and how do you fix them correctly?
Frontend ยท 1.2k views ยท react, hooks, closures
What are Effect Events (`useEffectEvent`) and what problem do they solve?
Frontend ยท 994 views ยท react, hooks, effects
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 are Portals in React and when would you use them?
Frontend ยท 888 views ยท portals, dom, ui
React Compiler โ how does auto-memoization work in React 19?
Frontend ยท 749 views ยท react-compiler, performance
React Server Components vs SSR โ what is the real difference?
Frontend ยท 710 views ยท react, rsc, ssr
Why does updating Context re-render all its consumers, and how do you fix it?
Frontend ยท 637 views ยท react, context, performance
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question