Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/docs/08.1-more-about-refs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ After building your component, you may find yourself wanting to "reach out" and

Let's look at how to get a ref, and then dive into a complete example.

> Important:
>
> `ref` attributes do **not work** on [stateless functional components](/react/docs/reusable-components.html#stateless-functions)

## The ref returned from ReactDOM.render

Not to be confused with the `render()` function that you define on your component (and which returns a virtual DOM element), [ReactDOM.render()](/react/docs/top-level-api.html#reactdom.render) will return a reference to your component's **backing instance** (or `null` for [stateless components](/react/docs/reusable-components.html#stateless-functions)).
Expand Down