;
const value = {
counter,
setCounter,
increment: () => setCounter(counter + 1),
decrement.../context';
function Counter() {
const { counter = 0, increment, decrement } = useContext(context);...const { counter = 0, increment, decrement } = useContext(context1);
const { status } = useContext(context2.../context2';
function Counter() {
const { counter = 0, increment, decrement } = useContext(context)...;
const { counter: coutner2, increment: increment2, decrement: decrement2 } = useContext(context2);