Giter Site home page Giter Site logo

Error on reload: ERROR Invariant Violation: Failed to call into JavaScript module method RCTEventEmitter.receiveEvent about react-native-screens HOT 3 CLOSED

sbin1211 avatar sbin1211 commented on May 24, 2024
Error on reload: ERROR Invariant Violation: Failed to call into JavaScript module method RCTEventEmitter.receiveEvent

from react-native-screens.

Comments (3)

tboba avatar tboba commented on May 24, 2024

Hi @sbin1211, thanks for creating this issue!
Unfortunately I cannot reproduce the error with given steps to repro 😕 Could you give us more details about the device you're using where this error happens?

8mb.video-riQ-fSVsSIX3.mp4

from react-native-screens.

sbin1211 avatar sbin1211 commented on May 24, 2024

Hi @sbin1211, thanks for creating this issue! Unfortunately I cannot reproduce the error with given steps to repro 😕 Could you give us more details about the device you're using where this error happens?

8mb.video-riQ-fSVsSIX3.mp4

Screen.Recording.2024-02-17.at.15.36.49.mov

@tboba see the screencast, it happens when fabirc turn on and enableScreens(true); but when you change code to enableScreens(false) , the error disappear.

"AwesomeProject" with {"rootTag":1,"initialProps":{"concurrentRoot":true},"fabric":true}

from react-native-screens.

tboba avatar tboba commented on May 24, 2024

Hi @sbin1211, sorry for the delay 🙏
I still can't reproduce the bug, even if I enabled fabric. Have you tried to reset cache of yarn/npm before running your app? Are you listening for some events?

Also, please take a note that with the newer version of react-native-screens, we will start to use other method for sending events to JS. Could you check if this bug still exists with the version of screens, taken from branch? You just need to change the version from package.json to:

"react-native-screens": "software-mansion/react-native-screens#main"
image

from react-native-screens.

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.