ple Choices
☑Kizspy.me
Answer (Choose 1
answer)
ΠΑ
☐ B
ос
☐ D
How can you access the state and dispatch from Context in a child component?
A. const [state, dispatch] = useContext(CountContext);
B. const { state, dispatch} = CountContext;
C. const { state, dispatch} = useContext(CountContext);
D. const state = CountContext.state;
I want to in the exam.
LAPTOP RUNNING