In this article i am going to list down some of most important reactjs interview questions i have asked to the candidates and i have faced when i attend interviews . If i have missed out any important questions , please comment here . i will add those to the list . It will be very helpful to others .
Reactjs Interview Questions
1.How does Reactjs Bootstrapp ? Or explain ReactJS Bootstrapping Process .
2.Why Do we need to Use ReactJS What are the main advantages and disadvantage of using React?
3.Explain the main Difference between Presentational and Container components
4.Explain the differences between a class component and functional component?
5.What is the most important differences between state and props?
6.Explain the different lifecycle phases and methods of reactjs?
7.Which is best lifecycle hook in a React component to make an AJAX request?
8.Explain about controlled components?
9.What are refs ? How it is used in React?
10.Explain about higher order component
11.Why do we need to use arrow functions ? What advantages are there in using that?
12.Why do we need to pass a callback function to setState as opposed to an object?
13.What is the alternative of binding this in the constructor?
14.Can we prevent a component from rendering ? How would you prevent a component from rendering?
16.Why do we need to give a key when rendering a list ?
17.Explainthe purpose of super(props)?
18.Explain about JSX, Why do we need to use in reactjs?
16.What is React.createElement?
17.What is Children in reactjs?
18.What is redux in reactjs ?
19.Explain about store in redux?
20.What is an action in redux?
21.What is a reducer in redux?
22.Why do we need to redux thunk ?
23.What is a pure and impure function?
Who Am i ?