mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
91b1cde5d6
from [elsewhere in the docs](https://facebook.github.io/react/docs/refs-and-the-dom.html):
> Avoid using refs for anything that can be done declaratively.
(cherry picked from commit bf5abdf14f)