We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c31d74 commit b336b03Copy full SHA for b336b03
anti-patterns/02.refs-over-findDOMNode.jsx
@@ -1,5 +1,5 @@
1
/**
2
- * Use findDOMNode() over callback refs
+ * Use callback refs over findDOMNode()
3
*
4
* Note:
5
* React also supports using a string (instead of a callback) as a ref prop on any component, although this approach is mostly legacy at this point.
0 commit comments