Skip to content

Conversation

@gaearon
Copy link
Collaborator

@gaearon gaearon commented Sep 24, 2017

Builds on top of #10794.
Relevant new commit: d85e22f

This is not safe to land before 16 because it changes the code.

Removes now-dead ReactComponentTreeHook and ReactHostOperationHook, ReactDebugTool, ReactInstrumentation, ReactPerf, and the calls to host operation hook in DOM utilities.

In Fiber, we never have a debugID, so removes the associated codepaths. Also removes on* methods on hooks since in Fiber we call validateProperties() directly.

Adds empty shims for methods RN still depends on. They are already no-ops, so now we just make this explicit (and add a TODO to remove the dependency). Isn’t it nice to learn this before sync? Yay flat bundles.

@gaearon
Copy link
Collaborator Author

gaearon commented Sep 24, 2017

Oops, I have another candidate for the second step.

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.

2 participants