Skip to content

Commit b336b03

Browse files
committed
Swap-fix accidental error
Closes #7
1 parent 0c31d74 commit b336b03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

anti-patterns/02.refs-over-findDOMNode.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Use findDOMNode() over callback refs
2+
* Use callback refs over findDOMNode()
33
*
44
* Note:
55
* 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

Comments
 (0)