Skip to content

Conversation

nikolas
Copy link
Contributor

@nikolas nikolas commented Sep 13, 2017

Using ref="button", as the docs currently state, yields an error: TypeError: Cannot read property 'tagName' of undefined

I've updated this to the new syntax as described in https://facebook.github.io/react/docs/refs-and-the-dom.html, and it's now working.

Using `ref="button"`, as the docs currently state, yields an error: `TypeError: Cannot read property 'tagName' of undefined`

I've updated this to the new syntax as described in https://facebook.github.io/react/docs/refs-and-the-dom.html, and it's now working.
@bvaughn
Copy link
Contributor

bvaughn commented Oct 8, 2017

Thank you for filing this PR!

I'm sorry to be the bearer of bad news, but the documentation and source code for reactjs.org now lives in a different repository: reactjs/reactjs.org. (For more info on why we made this move, see issue #11075.)

Would you be willing to re-open this PR on the new repo? I promise we'll review it quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants