Skip to content
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

console.warn shows two times in yellowBox and once in console #5154

Closed
kitze opened this issue Jan 6, 2016 · 5 comments
Closed

console.warn shows two times in yellowBox and once in console #5154

kitze opened this issue Jan 6, 2016 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@kitze
Copy link

kitze commented Jan 6, 2016

I have this simple React Native application https://gist.github.com/0061e2aeeb2d6e2529b8
In the render method i'm printing console.warn('Rendering component')

In the yellowBox i'm seeing (2) Rendering component -> https://i.imgur.com/OkyrEzE.png
In the chrome console it's only printed once -> https://i.imgur.com/IpiT2Ph.png

Is this a bug?

@facebook-github-bot
Copy link
Contributor

Hey kitze, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

@tiagojdf
Copy link

I can confirm I am having the same issue with React 0.19.

@grabbou
Copy link
Contributor

grabbou commented Apr 24, 2016

Tested on master and the warning box appears only once. If you could confirm it's no longer an issue or give additional information, that would be great.

@damusnet
Copy link
Contributor

damusnet commented Jun 4, 2016

@facebook-github-bot no-reply

@ghost
Copy link

ghost commented Jun 4, 2016

Closing this issue as more information is needed to debug this and we haven't heard back from the author. Once there's more information we can reopen the issue.

@ghost ghost closed this as completed Jun 4, 2016
@facebook facebook locked as resolved and limited conversation to collaborators Jun 4, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants