ch
Feedback
Web Development CS JS Python JavaScript Hacking ReactJs Python django Flask CSS Frontend Backend Full Stack Java Node Pdf Boo

Web Development CS JS Python JavaScript Hacking ReactJs Python django Flask CSS Frontend Backend Full Stack Java Node Pdf Books

前往频道在 Telegram

One place for the latest in JavaScript, Python, Django, React, and more. Get top-notch tutorials, tips, and downloadable resources. Join us to elevate your tech skills!

显示更多
4 217
订阅者
无数据24 小时
-77
-1630
帖子存档
Thinking to open an exclusive channel related to Python. Should I start?
Anonymous voting

➀➁ Difference between useState and useRef. ➀➂ What is useContext? ➀➃ Explain how to manage contexts in components and how useContext fits in there. ➀➄ What is memoization and how does React achieve it? ➀➅ Explain the useMemo hook.

➆ Compare useState with the state management in class-based components. ➇ What is useEffect? ➈ Which life cycle methods are internally handled by useEffect? ➉ What is useRef? ➀➀ Give some scenarios where useRef should be used.

➑ Introduction to Hooks ➀ What is a hook? ➁ Name the hooks which React provides out-of-the-box. ➂ What are the general conventions for naming a hook? ➃ From where can a React hook be called? ➄ Point out a few places where a hook can't be used. ➅ What is useState?

➐ Component Rendering ➀ What do you mean by rendering a component? ➁ Where to define rendering logic in a class-based component v/s function-based component? ➂ What may cause the rendering process slower? ➃ What is rerendering of a component and when does it happen?

➏ Data Binding ➀ What is data binding? ➁ What are the different types of data binding? ➂ What kind of data binding does React allow? ➃ Which data is available for binding in React?

➄ How states are set in a class-based component? ➅ How states are set in a function-based component? ➆ How to define props in a class-based component? ➇ How to define props in a function-based component? ➈ Explain the behavior when a state's value is changed.

➎ States and Props ➀ What is a state? ➁ What is a prop? ➂ Difference between a state and a prop? ➃ What is a stateful component and a stateless component?

➅ Explain the life cycle of a component. ➆ What is a life cycle method and what is its purpose? ➇ Give examples of some life cycle methods and their usage.

➍ Components ➀ What is a component? ➁ How many ways can a component be defined? ➂ How to define a class-based component? ➃ How to define a function-based component? ➄ What are the advantages and disadvantages of defining a component function-based vs. class-based?

➌ Virtual DOM ➀ What is a Virtual DOM? ➁ Why does React use a Virtual DOM? ➂ Advantages of Virtual DOM over normal DOM? ➃ Explain how the Virtual DOM works. ➄ When and how are changes propagated to the real DOM?