#react conditional hooks
You Can’t Use Hooks Conditionally… or Can You?Watch video: You Can’t Use Hooks Conditionally… or Can You?
React Summit 2023
28 min
You Can’t Use Hooks Conditionally… or Can You?
Top ContentThe Talk discusses the use of the Use hook in React and its ability to be used conditionally. It explains the concept of the fiber tree and how hooks values are stored in memory. The Talk also delves into the conditional use of useContext and how it differs from useState. It explores the process of updating context values and optimizing context rendering. The role of the provider in managing context values and rendering is emphasized.