doc: `npm ls react` is a better advice (#7513)
Refs Must Have Owner Warning `npm ls react` is a better advice than `npm ls | grep react`
Christophe Hurpeau committed
Aug 27, 2016 at 08:04 UTC
517a0dc051541fcf3dd6d5ac03d0fc272d1399d3
1 file changed
+1
-1
docs/warnings/refs-must-have-owner.md
+1
-1
@@ -24,4 +24,4 @@ Only a ReactOwner can have refs. This usually means that you're trying to add a
24
25
Bower does a good job of deduplicating dependencies, but NPM does not. If you aren't doing anything (fancy) with refs, there is a good chance that the problem is not with your refs, but rather an issue with having multiple copies of React loaded into your project. Sometimes, when you pull in a third-party module via npm, you will get a duplicate copy of the dependency library, and this can create problems.
26
27
-If you are using npm... `npm ls` or `npm ls | grep react` might help illuminate.
27
+If you are using npm... `npm ls` or `npm ls react` might help illuminate.