From 69ffe999dd7a2868b47c8b5e8025993d7b136263 Mon Sep 17 00:00:00 2001 From: RL Brown Date: Tue, 28 Mar 2017 16:13:45 -0400 Subject: [PATCH] Comma-fix and clarity Attempting to improve clarity and grammar slightly, while inserting a needed comma in the second sentence. --- docs/rules/no-string-refs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-string-refs.md b/docs/rules/no-string-refs.md index 1965bc7d3d..d5ba87397b 100644 --- a/docs/rules/no-string-refs.md +++ b/docs/rules/no-string-refs.md @@ -1,6 +1,6 @@ # Prevent using string references (no-string-refs) -Currently, two ways are supported by React to refer to components. The first one, providing a string identifier is considered legacy in the official documentation. Referring to components by setting a property on the `this` object in the reference callback is preferred. +Currently, two ways are supported by React to refer to components. The first way, providing a string identifier, is now considered legacy in the official documentation. The documentation now prefers a second method -- referring to components by setting a property on the `this` object in the reference callback. ## Rule Details