Skip to content

Commit

Permalink
chore: updated comment message (#16949)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirankumarAmbati authored and Brian Vaughn committed Sep 29, 2019
1 parent 2a264a9 commit d3622d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/ReactElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ function defineRefPropWarningGetter(props, displayName) {

/**
* Factory method to create a new React element. This no longer adheres to
* the class pattern, so do not use new to call it. Also, no instanceof check
* will work. Instead test $$typeof field against Symbol.for('react.element') to check
* the class pattern, so do not use new to call it. Also, instanceof check
* will not work. Instead test $$typeof field against Symbol.for('react.element') to check
* if something is a React Element.
*
* @param {*} type
Expand Down

0 comments on commit d3622d0

Please sign in to comment.