dillon1000/react
Commit
Browse files Reduce `ReactInstanceHandles` API Surface Area
Change `ReactInstanceHandles` so that `getFirstCommonAncestorID` and `nextDescendantID` are now private (and documented to be only exposed for unit testing). Also: - Renamed `nextDescendantID` to `getNextDescendantID`. - Renamed `parentID` to `getParentID`. I also organized `ReactInstanceHandles-test` by method names. Functionally, this diff should not change anything.
Changed paths2 files
First-parent comparisonsrc/core/ReactInstanceHandles.js ModifiedM src/core/__tests__/ReactInstanceHandles-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…