mobxjs / mobx-state-tree

Full-featured reactive state management without the boilerplate
https://mobx-state-tree.js.org/
MIT License
6.94k stars 640 forks source link

The data is updated, and the view is not ge #1971

Closed Zian502 closed 1 year ago

Zian502 commented 1 year ago

Bug report

Sandbox link or minimal reproduction code

Describe the expected behavior

Describe the observed behavior

Initialize Data: image

Click the first row of data, and after re assignment, the view layer does not update the latest data: image

"mobx": "^6.3.3", "mobx-react-lite": "^3.4.0", "mobx-state-tree": "^5.1.6", "react": "^17.0.2", "react-dom": "^17.0.2"

coolsoftwaretyler commented 1 year ago

Hey @Zian502 - would you mind providing a reproduction so we can help troubleshoot?

coolsoftwaretyler commented 1 year ago

Hi @Zian502 - I'm going to close this out if we don't hear back from you with a reproduction in the next two weeks or so. Thanks!

coolsoftwaretyler commented 1 year ago

Closin' out. Sorry we didn't help ya when it was more relevant!