The official MobX Devtools enhanced version.
This repository is home for:
MobX Devtools Pro vs MobX Devtool
Features | MobX Devtools Pro | MobX Devtool |
---|---|---|
Track action | ✅ | ✅ |
Computed view | ✅ | ❌ |
State view | ✅ | ❌ |
Diff view | ✅ | ❌ |
Inspect mobx-react(mobx-react-lite) observers | ✅ | ✅ |
MST support | ❌ | ✅ |
And MobX Devtools Pro has a better user experience.
- Install
@mobx-devtools/tools
package
npm i @mobx-devtools/tools
- Inject app's stores for Diff and State features
import { StoreA, StoreB } from './stores';
import { injectStores } from '@mobx-devtools/tools';
const storeA = new StoreA();
const storeB = new StoreB();
injectStores({
storeA,
storeB,
});
export const App = () => {
// ...
};
- Start your mobx debug tour!
Check the HACKING.md.