From 36dfe62f68e6dd461ca1555dee0d77c771b3e841 Mon Sep 17 00:00:00 2001 From: Iurii Kucherov Date: Tue, 1 Dec 2015 19:28:34 +0100 Subject: [PATCH] Update 08.1-more-about-refs.md --- docs/docs/08.1-more-about-refs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/08.1-more-about-refs.md b/docs/docs/08.1-more-about-refs.md index 9caf893737..feddad659b 100644 --- a/docs/docs/08.1-more-about-refs.md +++ b/docs/docs/08.1-more-about-refs.md @@ -5,7 +5,7 @@ permalink: more-about-refs.html prev: working-with-the-browser.html next: tooling-integration.html --- -After building your component, you may find yourself wanting to "reach out" and invoke methods on component instances returned from `render()`. In most cases, this should be unnecessary because the reactive data flow always ensures that the most recent props are sent to each child that is output from render(). However, there are a few cases where it still might be necessary or beneficial, so React provides an escape hatch known as `refs`. These `refs` (references) are especially useful when you need to: find the DOM markup rendered by a component (for instance, to position it absolutely), use React components in a larger non-React application, or transition your existing codebase to React. +After building your component, you may find yourself wanting to "reach out" and invoke methods on component instances returned from `render()`. In most cases, this should be unnecessary because the reactive data flow always ensures that the most recent props are sent to each child that is output from `render()`. However, there are a few cases where it still might be necessary or beneficial, so React provides an escape hatch known as `refs`. These `refs` (references) are especially useful when you need to: find the DOM markup rendered by a component (for instance, to position it absolutely), use React components in a larger non-React application, or transition your existing codebase to React. Let's look at how to get a ref, and then dive into a complete example.