Explain the concept of 'lifting state up' in React and provide an example scenario where it's beneficial. - Study24x7
Social learning Network
1 follower study24x7 22 Apr 2024 10:48 AM study24x7 study24x7

Explain the concept of "lifting state up" in React and provide an example scenario where it's beneficial.

A

Moving state management to the top-level component for sharing state between sibling components

B

Elevating components within the component hierarchy

C

Enhancing the performance of a specific component

D

Utilizing context API for managing global state

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles