使用useRef记录改变n多少次 const count = useRef(0) useEffect(() ... store) return ( // 套住子组件value是将读和写的API赋值给子组件 <Context.
確定! 回上一頁