Closed
Description
See update below:
I'd like to remove as many use of refs as possible, and those that are 100% necessary should be callbacks.
Some components use a ref
where they can likely use findDOMNode(this)
instead. Regarding nested components, we have reliable markup and classNames to use. We should prefer findDOMNode(this).querySelector('...')
to find nodes nested within ourselves. We should be able to remove most, if not all, use of refs in this way.