Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
Easy
15 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
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
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
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
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
How does React handle events?
Frontend ยท 960 views ยท events, synthetic events, dom
How do you handle asynchronous operations in React functional components?
Frontend ยท 930 views ยท async, useEffect, data fetching
Hard
15 questionsWhy does React 18 StrictMode double-invoke your components and effects?
Frontend ยท 908 views ยท react, strict-mode, effects
How do Suspense data-fetching waterfalls happen, and how do you avoid them?
Frontend ยท 820 views ยท react, suspense, performance
What is server-side rendering (SSR) and when would you use it with React?
Frontend ยท 767 views ยท ssr, performance, seo
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
When and why do you use `forwardRef` with `useImperativeHandle`?
Frontend ยท 662 views ยท react, refs, patterns
Why does updating Context re-render all its consumers, and how do you fix it?
Frontend ยท 637 views ยท react, context, performance
What does the `use()` hook do, and why is it special?
Frontend ยท 528 views ยท react, suspense, data-fetching
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question