componentWillMount() {
    if (!canUseDOM || this.containerElement) {
      return
    }
    invariant(