Skip to content

Conversation

@s6577t
Copy link
Contributor

@s6577t s6577t commented Jul 8, 2014

Browser libraries including reactjs assume the presence of a console and commonly use methods such as warn or info to notify about api misuse or deprecation.

If the console is not defined in the server side javascript environment, pre rendering throws an ExecJS::ProgramError because console is not defined.

zpao added a commit that referenced this pull request Jul 13, 2014
Define commonly used console api in server side rendering context
@zpao zpao merged commit bff5d43 into reactjs:master Jul 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants