Comments (10)
Related to kolodny/jsan#25. Looks like that limitation was added somewhere in React Native, it doesn't have any issues, but better to handle on jsan
part.
from mobx-remotedev.
This is from React Native, right? If I'd have a repro would look into it, but if someone can do a PR on jsan
part would be much appreciated. Or waiting till Metro decides to make it opt in as per facebook/metro#287.
from mobx-remotedev.
@zalmoxisus when i open try to debug react native using remote devtool it shows unknown call relay:check .and it shows following thing on devtools.
In screenshot you can see the message too.
I have added you in repo so you can investigate.
Currently i am working it as private which i plan to release to open source later.
Thanks again.
from mobx-remotedev.
Thanks for adding me. Unfortunately I'm not using RN atm and don't have an emulator on this machine to check now. Could you try to replace ./node-modules/jasn/lib/utils.js
and restore-special.js
inside your project form here. Most likely not.
I see it's warning not only when requiring the lib so should be quite annoying, but it would need to restructure the whole lib into one file which isn't quite sustainable just for a linting warning as discussed in kolodny/jsan#25.
from mobx-remotedev.
@zalmoxisus i replaced it but it seems everything is same nothing changed. I needed to create new file for restore-special.js
file.
let me know if i can do anything.
from mobx-remotedev.
Yes, I tried to move it to new restore-special.js
file, thought it would ignore the cycle in run time this way, but seems no.
from mobx-remotedev.
@zalmoxisus is it due to package issue or which one? like many package etc are starting to showing up. If i don't use devtool it doesn't show any errors.
from mobx-remotedev.
Yes, we have that in jsan
, see kolodny/jsan#25 for more details. But that's not quite an issue with the package itself, it works as expected, but Metro from React Native is warning on that. As many suggested in facebook/metro#287, that should be be opt-in.
from mobx-remotedev.
hmm should we ignore it or ? . According to metro they are trying to protect us from code with cycle that can create problem in future.
from mobx-remotedev.
I think yes, nobody had any problems in several years with the way the cycle is setup there. Just the warning flood is annoying.
The solution is to patch Metro as indicated in facebook/metro#287 (comment).
Let's keep the issue open, so others can find.
from mobx-remotedev.
Related Issues (20)
- Cannot read property 'action' of undefined HOT 2
- Observable map? HOT 2
- Use devtools in React Native with Mobx State Tree HOT 1
- Doesn't capture anything if useStrict is enabled HOT 3
- Maximum call stack size exceeded HOT 6
- Project still alive? HOT 1
- Mobx 4 support HOT 3
- [React-native] Cannot read property 'getDebugName' of undefined HOT 6
- is this supposed to work alongside redux?
- "export 'isStrictModeEnabled' (imported as 'mobx') was not found in 'mobx'" HOT 2
- With HMR-hot module reloads when I use `global: true` I get You've already defined a global store is there any way to suppress this HOT 2
- new instance -> TypeError: _dec is not a function HOT 3
- I just can't make actions to work. State is never updated. HOT 2
- Build errors in Ionic project
- Support for "Redux DevTools Extension API" serialize option
- Not play well with `TSyringe`
- IE 11 is not supported
- MobX 6 (Cannot obtain atom from undefined) HOT 6
- Computed in remote-redux HOT 3
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 mobx-remotedev.