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

Better warning messages for deprecated methods #3802

Merged
merged 1 commit into from May 2, 2015

Conversation

sophiebits
Copy link
Collaborator

No description provided.

'%s(...) is deprecated in plain JavaScript React classes.',
displayName
'%s(...) is deprecated in plain JavaScript React classes. %s',
methodName,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not closure compiler advanced compatible :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure that's true, but fixed.

@zpao
Copy link
Member

zpao commented May 2, 2015

lgtm

sophiebits added a commit that referenced this pull request May 2, 2015
Better warning messages for deprecated methods
@sophiebits sophiebits merged commit a6d03f3 into facebook:master May 2, 2015
zpao pushed a commit to zpao/react that referenced this pull request May 8, 2015
Better warning messages for deprecated methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants