mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Add indent lint rule, fix code
This commit is contained in:
@@ -202,7 +202,7 @@ var ReactCompositeComponentMixin = {
|
||||
ReactLifeCycle.currentlyMountingInstance = this;
|
||||
try {
|
||||
if (inst.componentWillMount) {
|
||||
inst.componentWillMount();
|
||||
inst.componentWillMount();
|
||||
// When mounting, calls to `setState` by `componentWillMount` will set
|
||||
// `this._pendingStateQueue` without triggering a re-render.
|
||||
if (this._pendingStateQueue) {
|
||||
|
||||
Reference in New Issue
Block a user