Table of contents
No headings in the article.
What is React.js and why is it popular?
Describe the component-based architecture of React.js.
differences between
functional components and class components
normal Dom and virtual DOM ? (or) why react is faster? (or) what is reconciliation in react ? (or) what is diffi-algo ? (or) what is react fiber?
jsx and html
controlled and uncontrolled components
state and props
context api and redux
redux thunk and redux saga
redux , redux toolkit and redux toolkit query
react and next.js
react , angular and vue.js
memo, useMemo and useCallback
"componentWillMount" and "componentDidMount" lifecycle methods
code splitting , react.lazy() and suspense, react fragment, react profiler, lighthouse, react portals
pass data
child to parent (or) lifting state up
parent to child
why to use key, why not to use index while mapping through array
useState and useRef
How does React.js handle state management?
What is JSX in React.js? How does it differ from HTML?
What are the lifecycle methods in React.js? Explain each phase.
What is the purpose of keys in React.js? Why are they important?
How do you handle forms in React.js?
What is the significance of "setState" in React.js?
Describe the concept of React hooks. What are some commonly used hooks?
How do you handle routing in React.js? What libraries or methods can be used?
What is React Router? How does it work?
Describe the concept of context in React.js.
What are higher-order components (HOCs) in React.js? Provide an example.
How do you handle event handling in React.js?
Explain the concept of reconciliation in React.js.
How do you handle performance optimization in React.js?
Describe the concept of code splitting in React.js. Why is it useful?
What are React fragments? How do they improve performance?
Explain the concept of error boundaries in React.js.
How do you handle internationalization (i18n) in React.js?
Describe the concept of lazy loading in React.js. What is React.lazy()?
How do you handle state management in large-scale React.js applications?
Explain the concept of server-side rendering (SSR) in React.js.
What are React hooks rules and best practices?
How do you handle authentication and authorization in React.js applications?
Describe the concept of memoization in React.js.
What are React context providers and consumers?
How do you handle data fetching in React.js? What libraries or methods can be used?
Explain the concept of render props in React.js.
What are the differences between "Shallow Rendering" and "Full Rendering" in React.js testing?
Describe the concept of React Portals. How can they be used in real-world scenarios?
How do you handle data flow and state management in React.js without using Redux?