const [store] = useState(() => observable({key: 'value'})) 复制代码. 这个API 看着是不是平平无奇,但是就是它的存在,为 Hooks 解决了 依赖传递 ...
確定! 回上一頁