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

Rename host-y things to be "host" not "native" #6754

Merged
merged 1 commit into from
May 12, 2016

Conversation

sophiebits
Copy link
Collaborator

For clarity.

I left "native event" as-is because there's a lot of it, it's not particularly ambiguous, and SimulateNative/nativeTouchData are public API in ReactTestUtils.

For clarity.

I left "native event" as-is because there's a lot of it, it's not particularly ambiguous, and SimulateNative/nativeTouchData are public API in ReactTestUtils.
@sebmarkbage
Copy link
Collaborator

While you're at it. rootNodeID/tag/domID/nodeHandle are a bit overloaded and unused on composite component. :)

It is possible something might be used by the devtools/RN still not sure. I think these are mostly isolated now.

@sophiebits
Copy link
Collaborator Author

Maybe another time. :)

@ghost ghost added the CLA Signed label May 12, 2016
@sophiebits sophiebits merged commit ba9b985 into facebook:master May 12, 2016
iamdustan added a commit to iamdustan/tiny-react-renderer that referenced this pull request May 12, 2016
iamdustan added a commit to iamdustan/tiny-react-renderer that referenced this pull request May 12, 2016
gaearon added a commit that referenced this pull request May 14, 2016
We had a rename in #6754 but #6748 got merged after that referencing the old name.
@zpao
Copy link
Member

zpao commented May 17, 2016

Do we need to make any changes to RN or anything else for this? I know ReactART needs 1 change but want to make sure there's nothing else. This is likely to go into a 15.y.0 (mostly for cherry-picking ease).

@sophiebits
Copy link
Collaborator Author

There's two uses of .getNativeNode in RN but I think that's it. If we merge #6775 then we don't strictly need to update React ART now.

@zpao
Copy link
Member

zpao commented May 18, 2016

So if we took this into 15.1 but RN cuts RC tomorrow, then we would be break them. But if we also take #6775 as is (with the fallback for the old getNativeNode method) then this would be safe without fixing RN now?

@sophiebits
Copy link
Collaborator Author

No, RN calls getNativeNode in one place (whereas React ART only defines it for React to call). Basically we need to update that RN code when we land the next React update to RN that includes this commit.

@sebmarkbage
Copy link
Collaborator

Ugh. Debug tools and their dependencies on internals... sigh. We need that public debug API.

@zpao zpao added this to the 15-next milestone Jun 1, 2016
zpao pushed a commit to zpao/react that referenced this pull request Jun 8, 2016
For clarity.

I left "native event" as-is because there's a lot of it, it's not particularly ambiguous, and SimulateNative/nativeTouchData are public API in ReactTestUtils.
(cherry picked from commit ba9b985)
@pke
Copy link

pke commented Jun 9, 2016

This PR breaks CSSPropertyOperations.setValueForStyles when called without a component. Calling it without a component was fine before. Now, because of additional debugging code (for native?) apps the code does not check for non-null component

@gaearon
Copy link
Collaborator

gaearon commented Jun 9, 2016

@pke I left a comment about this in adambbecker/react-style-transition-group#1 (comment).

zpao pushed a commit that referenced this pull request Jun 14, 2016
For clarity.

I left "native event" as-is because there's a lot of it, it's not particularly ambiguous, and SimulateNative/nativeTouchData are public API in ReactTestUtils.
(cherry picked from commit ba9b985)
@zpao zpao modified the milestones: 15-next, 15.2.0 Jun 14, 2016
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.

None yet

5 participants