mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +00:00
Dim owners that have been filtered from the tree in rendered-by list
This commit is contained in:
@@ -377,6 +377,10 @@ export default class Store extends EventEmitter {
|
||||
this.emit('isProfiling');
|
||||
}
|
||||
|
||||
containsElement(id: number): boolean {
|
||||
return this._idToElement.get(id) != null;
|
||||
}
|
||||
|
||||
getElementAtIndex(index: number): Element | null {
|
||||
if (index < 0 || index >= this.numElements) {
|
||||
console.warn(
|
||||
|
||||
Reference in New Issue
Block a user