Coding Guidelines Documentation
Always use ref callbacks. eslint: react/no-string-refs
react/no-string-refs
// bad <Foo ref="myRef" /> // good <Foo ref={(ref) => { this.myRef = ref; }} />