Back to All Guides
Technical Interviews•12 min read•Oct 14, 2026

React and Next.js questions hiring desks actually ask

MY
MyFitRoles editorialWritten by the team at myfitroles.com
Key Guide Takeaways
  • Know when a component must run in the browser and when it can stay on the server.
  • Be able to explain streaming and Suspense as a way to show a page before every query finishes.
  • Keep UI state and server data in different places.
  • Draw the cache: browser, CDN, and origin. Say what happens when data goes stale.

Senior frontend interviews have moved past “what is a hook.” Teams want to know if you can keep a site fast when many people open it at once, and if you can explain the trade-offs in English. The questions below come up on roles like the Next.js and full-stack listings we publish. They are a study list, not a secret bank from one company.

Server components and client components

Interviewers often start here because the App Router changed the default. Server components run on the server and do not ship their own JavaScript to the browser. Client components need `"use client"` when you need state, effects, click handlers, or browser APIs such as `window` and `localStorage`.

A useful answer is not a slogan. Say what you would keep on the server (data fetch, access checks, static layout) and what you would push to the client (a filter, a form, a chart that tracks the pointer). Mention the cost: every client island adds bundle weight.

Streaming and Suspense

A slow query should not block the whole page. Wrapping a slow block in Suspense lets the shell render first and the rest arrive when the promise settles. You should be able to say what the user sees in the gap, and what happens if the query fails.

If you have shipped this, talk about a real page: a job list that shows filters immediately while cards stream in, or a dashboard that paints the chrome before the chart. If you have not shipped it, walk through how you would add it without hiding errors.

Caching, not just “we use ISR”

Hiring managers want a picture. Browser cache, CDN, and the origin each store something. Stale-while-revalidate means a user can see yesterday’s page while a fresh one is built. You should know when that is fine (a blog) and when it is not (a salary that just changed, or a contact that must stay locked).

On a job board, a listing can close. Caching the title for a few minutes is usually fine. Caching an unlocked phone number in a public page is not. That distinction is a good interview answer because it shows you think about people, not only TTLs.

State at scale

Global stores are easy to overuse. UI state (a modal, a theme toggle) can live in a small client store. Server data (the job list, the session) is better fetched and cached with the framework or a query library. Mixing the two makes “why did this card go stale” hard to debug.

Be ready for hydration mismatches. They often come from rendering a date, a random number, or `window` during the first paint. Fix the source. Do not paper over it with suppressHydrationWarning unless you can say why.

How to practise

Pick one product you know — this site is enough — and draw the request path for `/jobs` and for a single role. Where is the HTML built? What is public? What waits for a login? Then answer out loud in two minutes. That is closer to a real interview than memorising twenty-five flashcards.

When you apply from MyFitRoles, you already have the salary and workplace type on the card. Use that to decide if the interview is worth the prep. Unlock the recruiter when you can talk about one system you have shipped, not a list of acronyms.

Apply Direct with Zero Recruiter Spam

Explore verified roles in every country and 100% remote worldwide. Unlock hiring manager email and phone numbers directly.

Cookies — one choice

We ask once for both. Accept and Google may use cookies for ads (so the board stays free) and to see which pages people open. Decline and you get limited access: jobs, search, and recruiter unlock still work, with no ad or analytics cookies.

Cookie policy