****** React.JS-Interview-Questions and Answers *****
** ## For theory Questions and answers please go through the "notes.md" file. **
** ## For Implementation Questions please go through the "src" folder. **
- What is Virtual DOM
- What is SPA
- What is difference between class and functional component
- What does mean by state and its use in react?
- What is JSX and why do we use it instead of js?
- How do you use pass data from one component to another?
- What is the Difference between react and react native? Which one is library or framework?
- What is the package name you are using for routing
- What is package.json
- Routing Implementation
- How do you pass data from parent to child?
- What is lazy loading in react ?
- Difference b/w Stateful and stateless Component.
- How do you switch one component to another?
- Difference between Axios and fetch.
- What are React Life cycles Explain each one with Example?
- What is UseState Hook ?(Implementation)
- What is useEffect Hook ?(Implementation)
- What is UseReducer Hook ?(Implementation)
- What is UseMemo Hook ?(Implementation)
- What is UseRef Hook ?(Implementation)
- What is Context api
- Difference between callback and useCallback Hook ?
- What is Props Drilling Concept ?What is State Uplifting ?
- Difference between useEffect and useContext ?
- High Order Component in react js ?
- Do you know about SEO ? Is it true that react js supports SEO support?
- clean up in useEffect.
- What is the use of useCallback and useMemo?
- Why do we need keys in react less?
- Do you know about redux?
- Have you used redux?
- Is react library or frameworks?
- How to pass props in components?
- What is an event in react?
- What is the difference between states and props?
- What is memory leak and how to overcome?
- Do you prefer function-based or class component and why ?
- Pure and impure function in react js ?
- Why do we use redux thunk?
- What do you know about NPM?
The questions provided in this repository are the summary of frequently asked questions across numerous companies.
Good luck with your interview ๐