Frontend track

React interview questions and answers

Panel-ready Frontend Master questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

41 High React Frontend

When would you use useReducer instead of useState?

Short take Full answer on next page

Simple meaning

When the next state depends on several fields and event types, a reducer documents the transitions in one place.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
44 High Redux Frontend

How do memoized selectors prevent extra renders?

Short take Full answer on next page

Simple meaning

Reselect or createSelector returns the same reference if input slices did not change, so useSelector's equality check skips render.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
51 High React Frontend

What is streaming SSR and how does Suspense fit?

Short take Full answer on next page

Simple meaning

The server can flush HTML in chunks as Suspense boundaries resolve instead of waiting for the whole tree.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
56 High Next.js Frontend

How does streaming change TTFB versus hydration cost?

Short take Full answer on next page

Simple meaning

Streaming can send the shell quickly so TTFB and first paint improve even if a slow widget is still pending.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
60 High React Frontend

What is React.memo and when does it help?

Short take Full answer on next page

Simple meaning

React.memo wraps a component so it skips re-render when props are shallow-equal.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Prev Page 3 of 4 Next
Chat with us