Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
Easy
2 questionsMedium
11 questionsWhat are React's design principles?
Frontend ยท 1.2k views ยท design principles, declarative, components
How do you handle asynchronous operations in React functional components?
Frontend ยท 930 views ยท async, useEffect, data fetching
How do you test React components?
Frontend ยท 880 views ยท testing, jest, react testing library
RSC vs Client Components โ when do you add 'use client' in Next.js 15?
Frontend ยท 853 views ยท rsc, nextjs, server-components
How do you fetch data in React?
Frontend ยท 814 views ยท data fetching, useEffect, api
How do you handle forms in React?
Frontend ยท 640 views ยท forms, state management, events
When would you choose a class component over a functional component with hooks?
Frontend ยท 610 views ยท class components, functional components, hooks
How do you interact with external APIs in React?
Frontend ยท 553 views ยท api, data fetching, useeffect
Hard
11 questionsWhat problem does `useSyncExternalStore` solve?
Frontend ยท 938 views ยท react, concurrent, state-management
What are Portals in React and when would you use them?
Frontend ยท 888 views ยท portals, dom, ui
React Server Components vs SSR โ what is the real difference?
Frontend ยท 710 views ยท react, rsc, ssr
Why must React state updates be immutable?
Frontend ยท 601 views ยท react, state, immutability
Compare render-as-you-fetch, fetch-on-render, and fetch-then-render.
Frontend ยท 583 views ยท react, data-fetching, suspense
What does the `use()` hook do, and why is it special?
Frontend ยท 528 views ยท react, suspense, data-fetching
cache() and fetch memoization โ request deduplication in RSC
Frontend ยท 483 views ยท cache, rsc
How does React 19 handle document metadata like `<title>` and `<meta>`?
Frontend ยท 311 views ยท react, react-19, metadata
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question