Skip to content
tezvyn:

React & Next.js

React, Next.js, Remix, RSC, React ecosystem

70 bites

Test yourself: Top 30 intermediate React & Next.js interview questionsMultiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.

Intermediate interview questions in React & Next.js, page 4

intermediate2 min read

Is Tailwind maintainable at scale, and what patterns support your claim?

Tests your CSS architecture judgment with utility-first scaling patterns. Strong answers pick a side, citing three patterns: strict tailwind config, components hiding class soup, and sparing @apply.

intermediate1 min read

Purpose of Outlet in React Router v6 nested routes

Outlet renders the matched child route inside a parent layout, enabling shared chrome with swappable content; configure nested routes and place Outlet where children render.

How do React Router v6.4 loaders change data fetching from useEffect?
intermediate2 min read

How do React Router v6.4 loaders change data fetching from useEffect?

This tests moving from fetch-on-render to render-as-you-fetch. Explain that loaders fire before render, removing useEffect waterfalls, while the router ignores stale promises on interruption. Red flag: calling loaders just useEffect outside the component.

intermediate2 min read

How do React Profiler flame and ranked charts pinpoint bottlenecks?

Flame chart width and color show duration with children; ranked chart sorts by self-time to surface the top component.

intermediate2 min read

How to implement a derived Redux slice performantly and maintainably?

This tests minimal state and memoized selector design. Use Reselect's createSelector to compute data from multiple slices, keeping state minimal and avoiding redundant work. A red flag is storing derived values in Redux or recalculating without memoization.

intermediate2 min read

Explain the difference between Server and Client Components in Next.js

Server components run on the server with no client JS and access backends directly; client components ship JS and handle state.

intermediate2 min read

What is the Virtual DOM and why does React use it?

This tests reconciliation as declarative abstraction, not raw speed. Good answers define VDOM as in-memory UI synced to the real DOM, explain declarative state mapping, and note fibers enable incremental rendering.

intermediate2 min read

How do you ensure a complex form is fully accessible?

Pair labels to inputs, move focus to first error on submit, and link aria-invalid to aria-describedby.

intermediate2 min read

What drives your choice between Zustand and Redux Toolkit at scale?

What it tests: matching state philosophy to constraints, not hype. Outline: weigh Zustand's minimal footprint against Redux Toolkit's DevTools and structured async patterns. Red flag: claiming one is always better regardless of team size or debugging needs.

intermediate2 min read

How do you manage database connections in serverless Next.js API routes?

This tests serverless concurrency and connection limits. A strong answer notes lambda scaling exhausts DB connections, advocates connection pooling or serverless drivers, and caches the client globally.

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles