Comments (4)
The app uses a socket connection to send payload back and forth. This could be because you are trying to send some non-serializable data. Would you be able to provide a sample repo where this is reproducible?
from wiretap.
Same problem here. I'm using latest mobx with nested stores, maybe that has something to do with it?
from wiretap.
Same here. Using Mobx 5.5.2 and nested stores as well.
from wiretap.
Found the issue, but I'm not sure how to fix it.
I have a root store:
export class AppStore {
@observable uiStore: UiStore;
@observable otherStore: OtherStore;
constructor() {
this.uiStore = new UiStore(this);
this.otherStore = new OtherStore(this);
}
...
}
export class UiStore {
constructor(private appStore: AppStore) {}
}
This code causes the "Maximum call stack size exceeded" error above. If I change the code to this:
export class AppStore {
@observable uiStore: UiStore;
@observable otherStore: OtherStore;
constructor() {
this.uiStore = new UiStore();
this.otherStore = new OtherStore();
}
...
}
export class UiStore {
constructor() {}
}
It works, but then I cannot access the root store from the child stores. Is there a way to prevent Wiretap from parsing certain properties of a store (perhaps if they are marked private?)
from wiretap.
Related Issues (14)
- apply snapshot after reload HOT 3
- Make host configurable HOT 4
- TypeScript type declarations? HOT 3
- Wiretrap app hangs forever when loading HOT 3
- mobx-wiretap and mobx-wiretap-remote Not working with react-native HOT 2
- Initializing a property that is an Observable array of string causes "[mobx] Invariant failed: Cannot obtain administration from string 1" error
- connecting to apps running HTTPS HOT 5
- Connection errors flooding the console if Wiretap is not running
- Not seeing actions for MST Store HOT 12
- Linux support HOT 1
- TypeError: Cannot read property 'isMobxAction' of null HOT 2
- Is there umd compatible version [ mobx.umd.js ]? HOT 2
- time travelling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiretap.