Skip to content

Conversation

@jimfb
Copy link
Contributor

@jimfbjimfb commented Jan 2, 2015

Updated docs examples/recommendations to use findDOMNode instead of getDOMNode

@jimfb
Copy link
ContributorAuthor

jimfb commented Jan 2, 2015

Code change was already merged here: #2646

This new pull request is for the docs update.

@waldreiter
Copy link
Contributor

Maybe add it to the Top-Level API doc as well?

@zpao
Copy link
Member

zpao commented Jan 5, 2015

Yea, let's add the toplevel doc.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's kill this note completely.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ping)

@zpao
Copy link
Member

zpao commented Mar 2, 2015

Alright, lets address the notes and add this to the top level API docs, then we can merge this.

@jimfbjimfbforce-pushed the findDOMNode-in-docs branch from 324ccb4 to 61d2cf5CompareMarch 6, 2015 00:20
@jimfb
Copy link
ContributorAuthor

jimfb commented Mar 6, 2015

@zpao good to go?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just copy the text from here? http://facebook.github.io/react/docs/component-api.html#getdomnode

Maybe worth adding a note there too saying that React.findDOMNode is preferred.

@jimfbjimfbforce-pushed the findDOMNode-in-docs branch 2 times, most recently from 036c843 to d157895CompareMarch 6, 2015 00:36
@jimfbjimfbforce-pushed the findDOMNode-in-docs branch from d157895 to 030fc75CompareMarch 6, 2015 00:43
@jimfb
Copy link
ContributorAuthor

jimfb commented Mar 6, 2015

@spicyj better?

@sophiebits
Copy link
Collaborator

@JSFB shipit

jimfb added a commit that referenced this pull request Mar 6, 2015
Updated docs examples/recommendations to use findDOMNode instead of getDOMNode
@jimfbjimfb merged commit c7c2e05 into facebook:masterMar 6, 2015
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jimfb@waldreiter@zpao@sophiebits