📅  最后修改于: 2022-03-11 14:58:27.940000             🧑  作者: Mango
React takes your JSX and constructs the actual DOM, which the browser displays. Refs tie these two representations together, letting your React component get access to the DOM nodes that represent it.
A ref holds a reference to a DOM node.