Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[devtools]: allow element updates polling only if bridge is alive (#…
…27067) When some element is inspected in DevTools, we have a polling which updates the data for this element. Sometimes when service worker dies or bridge is getting shutdown, we continue to poll this data and will spam with the same "timed out error". <img width="1728" alt="Screenshot 2023-07-28 at 17 39 23" src="https:/facebook/react/assets/28902667/220c4504-1ccc-4e87-9d78-bfff8b708230"> These changes add an explicit check that polling is allowed only while bridge is alive.
- Loading branch information