mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
chore(ReactComponentWithPureRenderMixin.js): made "Mixin" lowercase
When referring to mixin, the rest of the comment is in lowercase; see line 36 and line 37. This change helps with the consistency of the usage of "mixin", and not to confuse it with a variable name.
This commit is contained in:
@@ -15,7 +15,7 @@ var shallowCompare = require('shallowCompare');
|
||||
|
||||
/**
|
||||
* If your React component's render function is "pure", e.g. it will render the
|
||||
* same result given the same props and state, provide this Mixin for a
|
||||
* same result given the same props and state, provide this mixin for a
|
||||
* considerable performance boost.
|
||||
*
|
||||
* Most React components have pure render functions.
|
||||
|
||||
Reference in New Issue
Block a user