New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onLayout not triggered or even crash the app #478
Comments
The problem may be that the |
I also ran into this also and spent a lot of time trying to uncover the root cause. @ide is this issue specific to xde? i.e. does xde implement a custom console.log? |
XDE does implement custom.console log since it has to move data from your phone to your computer. It uses pretty-format (https://github.com/facebook/jest/tree/master/packages/pretty-format) to serialize the data. |
@ide Does it make sense that XDE's custom console.log should handle this case more gracefully? |
If object is circular, it would be nice to automatically decycle it instead of crashing. |
@ide @w- @L1br3 It looks like pretty-format works with object cycles. Are you all still having the problem? |
@nicknovitski i am. From what you linked, pretty-format is part of jest? The recommendation is we use that inside of console.log? |
For anyone running into this issue, you can use something like
|
Hi guys,
I just create a project from expo XDE
and added
on the View, it is never triggered ...
I added as well on the Text, it crashed Expo client app
is someone have an idea ?
here is the App.js
and the generated package.json
The text was updated successfully, but these errors were encountered: