React Developer Interview Questions

3,048 react developer interview questions shared by candidates

1) What is useMemo in React? 2) What is useContext in React JS? 3) When does component Re-render? 4) What is the use of useCallback hook? 5) for(var i=0;i<5;i++){ setTimeout(()=>{ console.log()i; }); } What is the output of the above code? What changes do I need to make to get '0 1 2 3 4' as output. 6) Tell me about any challenge you came across while building a project and how did you solve it?
avatar

React Developer

Interviewed at RioMed

2.7
Jun 26, 2023

1) What is useMemo in React? 2) What is useContext in React JS? 3) When does component Re-render? 4) What is the use of useCallback hook? 5) for(var i=0;i<5;i++){ setTimeout(()=>{ console.log()i; }); } What is the output of the above code? What changes do I need to make to get '0 1 2 3 4' as output. 6) Tell me about any challenge you came across while building a project and how did you solve it?

Tech Round 1 Interview started with brief discussion. then tech question was realted to javasctipt: 1. setTimeout consoles 2. tricky javascript hoisting question 3. async await code review type scenario 4. program of brackets problems 5. some trasformation of technology discussion I was just wondering there was no question on React concepts.
avatar

React JS Developer Experienced

Interviewed at TO THE NEW

3.7
Oct 3, 2021

Tech Round 1 Interview started with brief discussion. then tech question was realted to javasctipt: 1. setTimeout consoles 2. tricky javascript hoisting question 3. async await code review type scenario 4. program of brackets problems 5. some trasformation of technology discussion I was just wondering there was no question on React concepts.

Viewing 1451 - 1460 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 3,048 interview questions and reports from React developer interviews. Prepare for your interview. Get hired. Love your job.