Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
119 Questions75.9k Views5.0k Upvotes
26 easy45 med48 hard
Easy
1 questionMedium
5 questionsDescribe the React component lifecycle.
Frontend Β· 1.0k views Β· lifecycle, mounting, updating
Views:1.0kLikes:64
When would you choose a class component over a functional component with hooks?
Frontend Β· 610 views Β· class components, functional components, hooks
Views:610Likes:25
Explain the purpose of `useEffect`.
Frontend Β· 364 views Β· useEffect, side effects, lifecycle
Views:364Likes:68
What are Error Boundaries in React?
Frontend Β· 267 views Β· error handling, error boundaries, ux
Views:267Likes:58
Error Boundaries with RSC β why can't Server Components catch errors?
Frontend Β· 80 views Β· error-boundary, rsc
Views:80Likes:60
Hard
3 questionsWhat is server-side rendering (SSR) and when would you use it with React?
Frontend Β· 767 views Β· ssr, performance, seo
Views:767Likes:75
What does the `use()` hook do, and why is it special?
Frontend Β· 528 views Β· react, suspense, data-fetching
Views:528Likes:42
What can and can't an Error Boundary catch?
Frontend Β· 149 views Β· react, error-handling, lifecycle
Views:149Likes:68
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question