Skip to content

Commit 6ff9644

Browse files
Clarify React class constructor comments
- The constructor is not always overridden by mocks. Makes viewing this constructor during debugging less confusing.
1 parent 4865ddf commit 6ff9644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isomorphic/classic/class/ReactClass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ var ReactClass = {
748748
*/
749749
createClass: function(spec) {
750750
var Constructor = function(props, context, updater) {
751-
// This constructor is overridden by mocks. The argument is used
751+
// This constructor gets overridden by mocks. The argument is used
752752
// by mocks to assert on what gets mounted.
753753

754754
if (__DEV__) {

0 commit comments

Comments
 (0)