React

Introduction to React - The concept of prop drilli...

5.

How can prop drilling be mitigated in a React application?

By using state management libraries like Redux.

By implementing context in React to provide data to components without passing props through every level.

By using React hooks like useState and useContext.

By avoiding the use of props altogether and directly accessing data from the global state.