Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update ref syntax #10695

Closed
wants to merge 1 commit into from
Closed

docs: Update ref syntax #10695

wants to merge 1 commit into from

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