Class based component has ref warning of functional component

Viewed 74
2 Answers

Turns out Row within reactstrap must be a functional components.

Therefore instead of

<Row ref={this.myRef}>
  ...
</Row>

I had to use

<div ref={this.myRef}>
  <Row>
    ...
  </Row>
</div>
Related