ice-lab / icestore

🌲 Simple and friendly state for React
MIT License
397 stars 35 forks source link

Bug: State被Freeze后无法进行更新 #94

Closed luhc228 closed 4 years ago

luhc228 commented 4 years ago

Question Desc

在 codesandbox(link: https://codesandbox.io/s/determined-kepler-khu47?file=/src/models/todos.ts) 中修改 store 中的代码后,会出现下面的报错 image

@ice/store version: 1.3.3

Link to code example: codesanbox link: https://codesandbox.io/s/determined-kepler-khu47?file=/src/models/todos.ts

The expected behavior

修改代码后不报错

alvinhui commented 4 years ago

看起来是 Hot Reload 下的问题。