isOnline === null) { return 'Loading...'; } return this.state.isOnline ? 'Online' : 'Offline'; } }. Notice how componentDidMount and componentWillUnmount ...
確定! 回上一頁