Closed run-nan closed 1 year ago
const [stateCount, setStateCount] = useState(0) const blockCount = useBlockState(state => state.count + stateCount, [stateCount])
当修改stateCount时,预期blockCount的值应该更新,但是实际没有更新
当修改stateCount时,预期blockCount的值应该更新,但是实际没有更新