React Developer Interview Questions

3,040 react developer interview questions shared by candidates

1. What will be the output of the following code? let i = 1; function incrementByValue(value) { i += value; return i; } function limit(fn, maxCalls) { let calls = 0; return function (...args) { if (calls < maxCalls) { calls += 1; return fn(...args); } return undefined; }; } const callbytimes = limit(incrementByValue, 2); console.log(callbytimes(2)); console.log(callbytimes(3)); console.log(callbytimes(4)); console.log(callbytimes(10));
avatar

Front End React Developer

Interviewed at Fragma Data Systems

4.3
Nov 6, 2024

1. What will be the output of the following code? let i = 1; function incrementByValue(value) { i += value; return i; } function limit(fn, maxCalls) { let calls = 0; return function (...args) { if (calls < maxCalls) { calls += 1; return fn(...args); } return undefined; }; } const callbytimes = limit(incrementByValue, 2); console.log(callbytimes(2)); console.log(callbytimes(3)); console.log(callbytimes(4)); console.log(callbytimes(10));

Initial Phone Screen questions: 1. what is Redux? 2. What is difference between class components and functional components? second Round - coding test: write a code to make a Rest API call to get the data to display the data in a table and apply sorting to the table.
avatar

Senior React Developer

Interviewed at Cardinal Intellectual Property

3.6
Oct 26, 2020

Initial Phone Screen questions: 1. what is Redux? 2. What is difference between class components and functional components? second Round - coding test: write a code to make a Rest API call to get the data to display the data in a table and apply sorting to the table.

Viewing 121 - 130 interview questions

See Interview Questions for Similar Jobs

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