仿 react ref
const { state, setState } = useSetRef(0) setState(10) console.log(state.value) => 10
值类型
T 初始值
Generated using TypeDoc
仿 react ref