Skip to content

Remove legacy dom node/ref stuff. - #5495

Merged
jimfb merged 1 commit into
react:masterfrom
jimfb:remove-public-dom-instance
Nov 19, 2015
Merged

Remove legacy dom node/ref stuff.#5495
jimfb merged 1 commit into
react:masterfrom
jimfb:remove-public-dom-instance

Conversation

@jimfb

@jimfb jimfb commented Nov 17, 2015

Copy link
Copy Markdown
Contributor

Remove legacy dom node/ref stuff.

As per conversation with @spicyj, the only warning that appears to be firing internally is the .props access, and we think that's because of devtools (filtering out Object.InjectedScript results in zero results), so I think we're good-to-go internally.

@jimfb
jimfb force-pushed the remove-public-dom-instance branch from f074de1 to 538d0b0 Compare November 17, 2015 23:30
@sophiebits

Copy link
Copy Markdown
Collaborator

k

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

you shouldn't need ReactDOM.findDOMNode here, if I'm reading this right? IIRC since the ref is a non-composite, it should directly return the node

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I think I agree, we don't need any of the actualDOMAnchorNode stuff. But I didn't want to confuse the diff by modifying test logic unnecessarily.

jimfb added a commit that referenced this pull request Nov 19, 2015
@jimfb
jimfb merged commit c643ecd into react:master Nov 19, 2015
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
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.

4 participants