Frontend track

HTML, CSS, JavaScript and React interview questions

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

3 High React Frontend

How does React Fiber change how updates are processed?

Short take Full answer on next page

Simple meaning

Fiber is a linked list of work units so React can pause, reuse, and prioritize updates instead of one long recursive stack.

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

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

How would you avoid stale closures in hooks?

Short take Full answer on next page

Simple meaning

I include the value in the dependency array, or I read it from a ref that I update every render.

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

Read full answer Example · Mistake · Say this
8 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
11 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
14 High TypeScript Frontend

What is declaration merging and when does it bite you?

Short take Full answer on next page

Simple meaning

Interfaces with the same name in the same scope merge their members, which is useful for extending libraries.

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

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