This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use Context directly as <Context value={x}> instead of <Context.Provider>—simpler syntax, same behavior.
You've completed the free preview. Subscribe to unlock every lesson in every course.