DEV Community

Cover image for 39+ Advanced React Interview Questions (SOLVED) You Must Clarify (2020 Update)

39+ Advanced React Interview Questions (SOLVED) You Must Clarify (2020 Update)

Alex πŸ‘¨πŸΌβ€πŸ’»FullStack.Cafe on November 04, 2019

The average React Js Developer salary in USA is $125,000 per year or $64.10 per hour. Entry level positions start at $63,050 per year while most ex...
Collapse
 
jsco profile image
Jesco Wuester

A lot of these are outdated or highly misleading.

Collapse
 
antonmelnyk profile image
Anton Melnyk

Q2 answer is outdated.

After introducing hooks API the real difference between class and functional components is that functional ones capture their values.

Details

Collapse
 
potouridisio profile image
Ioannis Potouridis

I'd prefer a guy that doesn't know what React Fiber is but knows:

  1. When to use local state

  2. How many times did his component render and why

  3. How to optimize 2.

Collapse
 
antonydb profile image
Antony Del Beato

Q12 Adding click events to divs is bad, use a button instead for a11y.

Collapse
 
joydeeep profile image
Joydeeep • Edited

Was on the lookout for some React Resources and landed up here;)
Thanks for the effort man..!

Sharing one of my favorite site for react interview questions:
interviewbit.com/react-interview-q...

Also another repos with amazing resources: github.com/MaximAbramchuck/awesome...

Collapse
 
wolverineks profile image
Kevin Sullivan

Can you identify 2 problems?

Yes. You're not using eslint, or prettier, or typescript or flow...

Collapse
 
leonardoalves profile image
leonardo-alves

stateless component != functional component