mirror of
https://github.com/facebook/react.git
synced 2026-02-26 07:05:09 +00:00
Remove unstable scheduler/tracing API (#20037)
This commit is contained in:
@@ -16,10 +16,6 @@ import {
|
||||
getChartData as getFlamegraphChartData,
|
||||
invalidateChartData as invalidateFlamegraphChartData,
|
||||
} from 'react-devtools-shared/src/devtools/views/Profiler/FlamegraphChartBuilder';
|
||||
import {
|
||||
getChartData as getInteractionsChartData,
|
||||
invalidateChartData as invalidateInteractionsChartData,
|
||||
} from 'react-devtools-shared/src/devtools/views/Profiler/InteractionsChartBuilder';
|
||||
import {
|
||||
getChartData as getRankedChartData,
|
||||
invalidateChartData as invalidateRankedChartData,
|
||||
@@ -27,7 +23,6 @@ import {
|
||||
|
||||
import type {CommitTree} from 'react-devtools-shared/src/devtools/views/Profiler/types';
|
||||
import type {ChartData as FlamegraphChartData} from 'react-devtools-shared/src/devtools/views/Profiler/FlamegraphChartBuilder';
|
||||
import type {ChartData as InteractionsChartData} from 'react-devtools-shared/src/devtools/views/Profiler/InteractionsChartBuilder';
|
||||
import type {ChartData as RankedChartData} from 'react-devtools-shared/src/devtools/views/Profiler/RankedChartBuilder';
|
||||
|
||||
export default class ProfilingCache {
|
||||
@@ -92,16 +87,6 @@ export default class ProfilingCache {
|
||||
rootID,
|
||||
});
|
||||
|
||||
getInteractionsChartData = ({
|
||||
rootID,
|
||||
}: {|
|
||||
rootID: number,
|
||||
|}): InteractionsChartData =>
|
||||
getInteractionsChartData({
|
||||
profilerStore: this._profilerStore,
|
||||
rootID,
|
||||
});
|
||||
|
||||
getRankedChartData = ({
|
||||
commitIndex,
|
||||
commitTree,
|
||||
@@ -123,7 +108,6 @@ export default class ProfilingCache {
|
||||
|
||||
invalidateCommitTrees();
|
||||
invalidateFlamegraphChartData();
|
||||
invalidateInteractionsChartData();
|
||||
invalidateRankedChartData();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user