React Developer Interview Questions

3,046 react developer interview questions shared by candidates

. What is React? · What is the difference between a library & framework? · What is JSX? · What is Virtual DOM? How it works? · What is the difference between Element and Component? · When to use a Class Component over a Function Component? · What are Pure Components? · What is the difference between state and props? · What is "key" prop and what is the benefit of using it in arrays of elements? · What is the use of refs in React? · What is the difference between controlled component & uncontrolled component? · What are the lifecycle methods of React? · What are the different phases of component lifecycle? · What are Higher-Order components? · What is children prop? · What are fragments? · What is the difference between stateful and stateless component? · What are Error Boundaries? · What are Hooks. · Can Hooks cover all use cases for classes? · How do you memorize a component? · What is strict mode in React? · What is code-splitting in React? · Is it good to use arrow functions in render methods? · What is context? · Give an example on How to use context? · What is React Router? · What is the purpose of push and replace methods of history? · What is Redux? · What are the core principles of Redux? · What is the difference between mapStateToProps() and mapDispatchToProps()? · What is an action in Redux? · How can we write asynchronous code in Redux? . What will happen if I change state like this ..... this.state.name = "name" ? Why is not correct ? . What will happen if we use setState() inside a constructor ?
avatar

React Developer

Interviewed at AAPNA Infotheek

4.6
Oct 23, 2020

. What is React? · What is the difference between a library & framework? · What is JSX? · What is Virtual DOM? How it works? · What is the difference between Element and Component? · When to use a Class Component over a Function Component? · What are Pure Components? · What is the difference between state and props? · What is "key" prop and what is the benefit of using it in arrays of elements? · What is the use of refs in React? · What is the difference between controlled component & uncontrolled component? · What are the lifecycle methods of React? · What are the different phases of component lifecycle? · What are Higher-Order components? · What is children prop? · What are fragments? · What is the difference between stateful and stateless component? · What are Error Boundaries? · What are Hooks. · Can Hooks cover all use cases for classes? · How do you memorize a component? · What is strict mode in React? · What is code-splitting in React? · Is it good to use arrow functions in render methods? · What is context? · Give an example on How to use context? · What is React Router? · What is the purpose of push and replace methods of history? · What is Redux? · What are the core principles of Redux? · What is the difference between mapStateToProps() and mapDispatchToProps()? · What is an action in Redux? · How can we write asynchronous code in Redux? . What will happen if I change state like this ..... this.state.name = "name" ? Why is not correct ? . What will happen if we use setState() inside a constructor ?

Viewing 1141 - 1150 interview questions

See Interview Questions for Similar Jobs

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