useContext()
useContext()
useContext – React 繁體中文
const value = useContext(SomeContext)