Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
Easy
12 questionsWhat are React synthetic events?
Phone Screen ยท 1.2k views ยท events, architecture
What 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 is the role of `react-dom`?
Frontend ยท 956 views ยท react-dom, dom, rendering
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
What is the difference between element and component in React?
Phone Screen ยท 656 views ยท concepts, architecture
Medium
12 questionsDescribe 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
Explain the concept of reconciliation in React.
Frontend ยท 1.0k views ยท virtual dom, reconciliation, diffing
How does React handle events?
Frontend ยท 960 views ยท events, synthetic events, dom
How does React's Batching work?
Frontend ยท 905 views ยท state, performance, rendering
RSC vs Client Components โ when do you add 'use client' in Next.js 15?
Frontend ยท 853 views ยท rsc, nextjs, server-components
What is the difference between controlled and uncontrolled components?
Frontend ยท 778 views ยท forms, controlled components, uncontrolled components
How do you handle memory leaks in React?
Frontend ยท 724 views ยท performance, hooks, debugging
Hard
13 questionsWhat is `useFormStatus` in React 19, and why does it exist?
Frontend ยท 1.1k views ยท react, react-19, hooks
What does the `useActionState` hook do in React 19?
Frontend ยท 947 views ยท react, react-19, hooks
What are Portals in React and when would you use them?
Frontend ยท 888 views ยท portals, dom, ui
How can the `key` prop be used to deliberately reset component state?
Frontend ยท 877 views ยท react, reconciliation, state
What is server-side rendering (SSR) and when would you use it with React?
Frontend ยท 767 views ยท ssr, performance, seo
When and why do you use `forwardRef` with `useImperativeHandle`?
Frontend ยท 662 views ยท react, refs, patterns
The Activity API โ hiding UI without unmounting in React 19
Frontend ยท 566 views ยท activity, react-19
When would you use `useLayoutEffect` instead of `useEffect`?
Frontend ยท 514 views ยท hooks, useLayoutEffect, useEffect
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question