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 ยท 933 views ยท async, useEffect, data fetching
How do you test React components?
Frontend ยท 882 views ยท testing, jest, react testing library
RSC vs Client Components โ when do you add 'use client' in Next.js 15?
Frontend ยท 855 views ยท rsc, nextjs, server-components
How do you fetch data in React?
Frontend ยท 817 views ยท data fetching, useEffect, api
How do you handle forms in React?
Frontend ยท 642 views ยท forms, state management, events
When would you choose a class component over a functional component with hooks?
Frontend ยท 612 views ยท class components, functional components, hooks
How do you interact with external APIs in React?
Frontend ยท 555 views ยท api, data fetching, useeffect
Hard
11 questionsWhat problem does `useSyncExternalStore` solve?
Frontend ยท 942 views ยท react, concurrent, state-management
What are Portals in React and when would you use them?
Frontend ยท 890 views ยท portals, dom, ui
React Server Components vs SSR โ what is the real difference?
Frontend ยท 712 views ยท react, rsc, ssr
Why must React state updates be immutable?
Frontend ยท 602 views ยท react, state, immutability
Compare render-as-you-fetch, fetch-on-render, and fetch-then-render.
Frontend ยท 585 views ยท react, data-fetching, suspense
What does the `use()` hook do, and why is it special?
Frontend ยท 532 views ยท react, suspense, data-fetching
cache() and fetch memoization โ request deduplication in RSC
Frontend ยท 484 views ยท cache, rsc
How does React 19 handle document metadata like `<title>` and `<meta>`?
Frontend ยท 313 views ยท react, react-19, metadata
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question