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.

229 Qs
21 Moderate React Frontend

How does React reconciliation work?

Short take

Simple meaning

React compares the new element tree with the previous one by type and key.

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

Read full answer Example · Mistake · Say this
27 Moderate React Frontend

When is Context a bad fit compared with Redux?

Short take

Simple meaning

Context re-renders all consumers when the provider value changes, so putting a rapidly updating cart in a huge provider is costly.

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

Read full answer Example · Mistake · Say this
29 Moderate React Frontend

What are the rules of hooks?

Short take

Simple meaning

Only call hooks at the top level of a React function, not in loops or conditions, so the order stays stable.

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

Read full answer Example · Mistake · Say this
34 Moderate TypeScript Frontend

When would you pick interface over type?

Short take

Simple meaning

I pick interface for object shapes that might be extended or merged in declaration files.

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

Read full answer Example · Mistake · Say this
36 Moderate TypeScript Frontend

What is unknown versus any?

Short take

Simple meaning

Any turns off checking, so I can access any property and hide bugs.

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

Read full answer Example · Mistake · Say this
38 Moderate Performance Frontend

How would you reduce LCP on a landing page?

Short take

Simple meaning

I preload or prioritize the hero image, set explicit dimensions, and avoid lazy-loading that above-the-fold asset.

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

Read full answer Example · Mistake · Say this
40 Moderate Performance Frontend

How does code splitting work with React.lazy?

Short take

Simple meaning

React.lazy plus dynamic import creates a separate chunk loaded when the component first renders.

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

Read full answer Example · Mistake · Say this
Prev Page 2 of 5 Next
Chat with us