So sharing multiple states with one provider is no problem. For instance, we can write: import React, { useContext, useState } from "react"; ...
確定! 回上一頁