GithubHelp home page GithubHelp logo

Comments (3)

cortinico avatar cortinico commented on April 28, 2024 1

I'm not maintaining the repo anymore but this might get picked up again in a few months.

Closing then as we're actively tracking those kind of issues.
If you need further support, please comment here or open a new issue.

from react-native.

RSNara avatar RSNara commented on April 28, 2024

When turning bridgeless mode on, the reference to the bridge is null.

@louiszawadzki, @synthesize bridge = _bridge only works with legacy modules, and interop modules.

By directly conforming to RCTTurboModule, or conforming to the code-generated interface, you made your module turbomodule-compatible. So, it started going through the all new code-paths, which don't decorate modules with the RCTBridge property.

I'm developing a module that uses the bridge to access the uiManager and run code on the JS thread.

Why do you need the bridge? Is it only for dispatching to the javascript thread? If so, have you tried to make your module conform to RCTJSDispatcherModule? That should give your module an api to call onto javascript.

from react-native.

louiszawadzki avatar louiszawadzki commented on April 28, 2024

Hi @RSNara, thanks a lot for your reply!
I'm not maintaining the repo anymore but this might get picked up again in a few months.

cc @plousada going through my github notifications I noticed this that should help regarding supporting the bridgeless mode for SR and JS framerate.

from react-native.

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.