Code Monkey home page Code Monkey logo

Comments (10)

zalmoxisus avatar zalmoxisus commented on June 7, 2024

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.

zalmoxisus avatar zalmoxisus commented on June 7, 2024

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.

shirshak55 avatar shirshak55 commented on June 7, 2024

@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.

screen shot 2018-12-02 at 12 55 06 pm

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.

zalmoxisus avatar zalmoxisus commented on June 7, 2024

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.

shirshak55 avatar shirshak55 commented on June 7, 2024

@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.

zalmoxisus avatar zalmoxisus commented on June 7, 2024

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.

shirshak55 avatar shirshak55 commented on June 7, 2024

@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.

zalmoxisus avatar zalmoxisus commented on June 7, 2024

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.

shirshak55 avatar shirshak55 commented on June 7, 2024

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.

zalmoxisus avatar zalmoxisus commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.