Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
Easy
3 questionsWhat are React Hooks? Name a few common ones.
Frontend ยท 1.1k views ยท hooks, functional components, state
How do you pass data between components in React?
Phone Screen ยท 803 views ยท props, data flow, component communication
forwardRef removal โ how do refs work as props in React 19?
Frontend ยท 644 views ยท refs, react-19
Medium
4 questionsRSC vs Client Components โ when do you add 'use client' in Next.js 15?
Frontend ยท 853 views ยท rsc, nextjs, server-components
When would you choose a class component over a functional component with hooks?
Frontend ยท 610 views ยท class components, functional components, hooks
React 19 ref as prop & ref cleanup โ the new cleanup return from ref callbacks
Frontend ยท 515 views ยท refs, react-19
What are Higher-Order Components (HOCs) in React?
Frontend ยท 387 views ยท hoc, reusability, composition
Hard
6 questionsWhat are Actions in React 19, and how do they change form handling?
Frontend ยท 1.1k views ยท react, react-19, actions
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
What is hydration in React?
System Design ยท 322 views ยท ssr, hydration, performance
How did ref handling change in React 19 (ref as a prop, forwardRef, ref cleanup)?
Frontend ยท 176 views ยท react, react-19, refs
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question