* [DevTools] front-end for profiling event stack Adds a side-bar to the profiling tab. Users can now select an update event, and are shown the callstack from the originating component. When a source path is available there is now UI to jump to source. Add FB enabled feature flag: enableProfilerComponentTree for the side-bar. resolves #24170
14 lines
378 B
JavaScript
14 lines
378 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
import type {SchedulingEvent} from '../types';
|
|
|
|
export function isStateUpdateEvent(event: SchedulingEvent): boolean %checks {
|
|
return event.type === 'schedule-state-update';
|
|
}
|