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

Creating element with ref in constructor does not throw error in dev mode (#9635) #10025

Merged
merged 1 commit into from
Aug 15, 2017

Commits on Aug 14, 2017

  1. Added unit tests for creating an element with a ref in a constructor.…

    … Only set ReactCurrentOwner.current in dev mode when the component has no constructor.
    iansu committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    7c175dc View commit details
    Browse the repository at this point in the history