mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Prettier
This commit is contained in:
@@ -188,13 +188,19 @@ describe('ReactExpiration', () => {
|
||||
state = {text: store.text};
|
||||
componentDidMount() {
|
||||
subscribers.push(this);
|
||||
Scheduler.yieldValue(`${this.state.text} [${this.props.label}] [commit]`);
|
||||
Scheduler.yieldValue(
|
||||
`${this.state.text} [${this.props.label}] [commit]`,
|
||||
);
|
||||
}
|
||||
componentDidUpdate() {
|
||||
Scheduler.yieldValue(`${this.state.text} [${this.props.label}] [commit]`);
|
||||
Scheduler.yieldValue(
|
||||
`${this.state.text} [${this.props.label}] [commit]`,
|
||||
);
|
||||
}
|
||||
render() {
|
||||
Scheduler.yieldValue(`${this.state.text} [${this.props.label}] [render]`);
|
||||
Scheduler.yieldValue(
|
||||
`${this.state.text} [${this.props.label}] [render]`,
|
||||
);
|
||||
return <span prop={this.state.text} />;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user