Giter Site home page Giter Site logo

Comments (8)

kevinresol avatar kevinresol commented on August 16, 2024

Hmmm I can add TODO fine... (though the yellow box is there for me too)

Anyway I just pushed some updates which seems to get rid of the yellow box, see if that helps?

from examples-react-native.

Sanva avatar Sanva commented on August 16, 2024

Now it is worse, the app crashes just at startup:

Screenshot_1553954965

The line 1813 in main.js is this one:

Object.defineProperty(attr,"__cct",{ value : actual, enumerable : false});

Maybe something related to Android version? I'm using the emulator with Nexus 5X API 28 x86.

from examples-react-native.

kevinresol avatar kevinresol commented on August 16, 2024

I remember this happening, this is related to the react devtools. @back2dos any ideas?

from examples-react-native.

back2dos avatar back2dos commented on August 16, 2024

That's probably this: MVCoconut/coconut.react-core#7

Can you try a prod version of react?

from examples-react-native.

Sanva avatar Sanva commented on August 16, 2024

Can you try a prod version of react?

OK, I'll try that.

But, the thing is... why I'm not getting the same results as @kevinresol ? I'm using exactly the same repository so... is the build process pulling something from my system?

from examples-react-native.

back2dos avatar back2dos commented on August 16, 2024

Hmm, maybe it's an environment difference? There's some node_env variable that can be production or development that sometimes affects how things are built.

Otherwise, can you check if putting untyped Object.freeze = Object.seal = function () {} right into the main function sidesteps the problem?

from examples-react-native.

Sanva avatar Sanva commented on August 16, 2024

Hmm, maybe it's an environment difference? There's some node_env variable [...]

Checked it and looks like it's not the case.

Otherwise, can you check if putting [...]

Yes, that works. It also works if you comment this line → https://github.com/MVCoconut/examples-react-native/blob/master/build.hxml#L7 ( -D react_devtools ).

Close this if you want — not doing it myself since this could be useful for someone until fix of coconut.react-core#7 .

from examples-react-native.

back2dos avatar back2dos commented on August 16, 2024

Closing, as the other issue is still around.

from examples-react-native.

Related Issues (5)

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.