mobx-devtools icon indicating copy to clipboard operation
mobx-devtools copied to clipboard

Unable to see Initial State in MST

Open jonavila opened this issue 7 years ago • 2 comments

Hi, I'm using the mobx-devtools-mst package and I can't seem to be able to capture the Initial State. I'm able to see the patches, but the initial state always shows up empty even though I'm calling makeInspectable after I've initialized my main store.

Currently using: mobx-devtools-mst: 0.9.14 mobx: 4.2.0 mobx-state-tree: 2.0.4 mobx-react: 5.0

  {
// some props to initialize state
  },
  {
// some objects for dependency injection
  },
));

makeInspectable(myStore);```

jonavila avatar Apr 26 '18 17:04 jonavila

I'm experiencing the same issue. I tried to rerwite a sorage using 'mobx-state-tree' library and now it works. My storages is written using ES6 classes, so does it mean that I must use 'mobx-state-tree' instead of them to have ability to watch state tree?

eugene-beliaev avatar Aug 09 '18 01:08 eugene-beliaev

Same issue here, has there been any updates? The following is a short video, which can be used to clarify more details.

https://user-images.githubusercontent.com/8049878/123041740-4ff26c80-d428-11eb-9ca2-d56cd7d2b804.mp4

@epodgaetskiy cc

liuliangsir avatar Jun 23 '21 05:06 liuliangsir