Skip to content

Commit d3622d0

Browse files
KirankumarAmbatiBrian Vaughn
authored andcommitted
chore: updated comment message (#16949)
1 parent 2a264a9 commit d3622d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react/src/ReactElement.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ function defineRefPropWarningGetter(props, displayName) {
9090

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

0 commit comments

Comments
 (0)