Skip to content

Remove legacy dom node/ref stuff.#5495

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

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

Conversation

@jimfb
Copy link
Contributor

@jimfb jimfb commented Nov 17, 2015

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
Collaborator

k

Copy link
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
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.

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