Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

React Native yellow box warnings #7

Open
joncursi opened this issue Dec 1, 2016 · 7 comments
Open

React Native yellow box warnings #7

joncursi opened this issue Dec 1, 2016 · 7 comments
Assignees

Comments

@joncursi
Copy link

joncursi commented Dec 1, 2016

I would like to replace react-native's "Debug JS Remotely" option (Chrome dev tools) entirely with Reactotron. However it seems as though reactotron's trackGlobalErrors plugin only emits console errors and ignores console warnings, which are always logged to Chrome dev tools.

screen shot 2016-12-01 at 11 55 31 am

Is there an option to enable these warnings in addition to errors? Thanks!

@skellock
Copy link

skellock commented Dec 1, 2016

Not currently. I had decided to remove that in 1.0 because it was excessively noisy and there didn't seem to be a way to explicitly target those warnings. They just show up as errors.

Internally facebook detects these by looking at the first few letters of the error message and seeing if it says Warning: .

I guess we could do the same to forward them over?

Hmm, might be able to make this work via a reactotron plugin, now that i think of it... lemme play around a bit.

Thanks for the feature requst.

@skellock skellock changed the title Option to emit console *warnings* with trackGlobalErrors? Support react native warnings Mar 12, 2017
@skellock skellock changed the title Support react native warnings React Native warnings Mar 12, 2017
@skellock skellock changed the title React Native warnings React Native Yellow Box Warnings Mar 12, 2017
@skellock skellock changed the title React Native Yellow Box Warnings React Native yellow box warnings Mar 12, 2017
@Damnum
Copy link

Damnum commented Aug 25, 2017

Any news on this?

@vdlindenmark
Copy link

I would like to have this...! I'm only using reactotron and are missing all of the yellow warnings :-( Why not add them to reactotron with a filter?

@rmevans9
Copy link
Collaborator

Transferring this issue over to the reactotron-react-native repository where the code in question now lives.

@rmevans9 rmevans9 transferred this issue from infinitered/reactotron Feb 18, 2019
@rmevans9 rmevans9 self-assigned this May 11, 2019
@euroclydon37
Copy link

Would definitely love this as well.

@Aleksandern
Copy link

any news?

@cyphire
Copy link

cyphire commented May 1, 2020

without yellow box warnings, there is no way to see the sequence of your console messages and where the yellow box error fires. React native is notoriously bad at actually showing you where in your code you are having an issue. I use realm.io and thus cannot do real debugging. I count on reactotron and really need the integration of the yellow boxes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants