Skip to content

Conversation

hoxyq
Copy link
Contributor

@hoxyq hoxyq commented Aug 30, 2023

This is mostly hotfix for #27215.

Contains 3 fixes:

  • Handle cases when react is not loaded yet and user performs in-tab navigation. Previously, because of the uncleared interval we would try to mount DevTools twice, resulting into multiple errors.
  • Handle case when extension port disconnected (probably by the browser or just due to its lifetime)
  • Removed duplicate render() call on line 327

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Aug 30, 2023
@hoxyq hoxyq merged commit 29b405b into facebook:main Aug 30, 2023
@hoxyq hoxyq deleted the devtools/handle-tab-navigation-before-react-is-loaded branch August 30, 2023 18:31
hoxyq added a commit that referenced this pull request Aug 30, 2023
List of changes:
* fix[devtools/extension]: handle tab navigation events before react is
loaded ([hoxyq](https://github.com/hoxyq) in
[#27316](#27316))
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
… loaded (facebook#27316)

This is mostly hotfix for facebook#27215.

Contains 3 fixes:
- Handle cases when `react` is not loaded yet and user performs in-tab
navigation. Previously, because of the uncleared interval we would try
to mount DevTools twice, resulting into multiple errors.
- Handle case when extension port disconnected (probably by the browser
or just due to its lifetime)
- Removed duplicate `render()` call on line 327
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
List of changes:
* fix[devtools/extension]: handle tab navigation events before react is
loaded ([hoxyq](https://github.com/hoxyq) in
[facebook#27316](facebook#27316))
bigfootjon pushed a commit that referenced this pull request Apr 18, 2024
… loaded (#27316)

This is mostly hotfix for #27215.

Contains 3 fixes:
- Handle cases when `react` is not loaded yet and user performs in-tab
navigation. Previously, because of the uncleared interval we would try
to mount DevTools twice, resulting into multiple errors.
- Handle case when extension port disconnected (probably by the browser
or just due to its lifetime)
- Removed duplicate `render()` call on line 327

DiffTrain build for commit 29b405b.
Akshato07 pushed a commit to Akshato07/-Luffy that referenced this pull request Feb 20, 2025
List of changes:
* fix[devtools/extension]: handle tab navigation events before react is
loaded ([hoxyq](https://github.com/hoxyq) in
[#27316](facebook/react#27316))

DiffTrain build for commit facebook/react@3808b01.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants