Skip to content

Conversation

@hoxyq
Copy link
Contributor

@hoxyq hoxyq commented Dec 11, 2025

Follow-up to #35296.

We can get ReferenceError if this is unavailable. Using typeof check instead for safety.

@hoxyq hoxyq requested a review from emily8rown December 11, 2025 11:53
@meta-cla meta-cla bot added the CLA Signed label Dec 11, 2025
Copy link
Contributor

@emily8rown emily8rown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you run yarn prettier for the linting check

@hoxyq hoxyq force-pushed the devtools/dont-directly-reference-document branch from f13197f to 1dd1a6d Compare December 11, 2025 12:00
@hoxyq hoxyq force-pushed the devtools/dont-directly-reference-document branch from 1dd1a6d to 6b1a338 Compare December 11, 2025 12:09
@hoxyq hoxyq merged commit 37bcdcd into main Dec 11, 2025
239 checks passed
@hoxyq hoxyq deleted the devtools/dont-directly-reference-document branch December 11, 2025 12:15
github-actions bot pushed a commit to code/lib-react that referenced this pull request Dec 14, 2025
…eference (facebook#35343)

Follow-up to facebook#35296.

We can get `ReferenceError` if this is unavailable. Using `typeof` check
instead for safety.

DiffTrain build for [37bcdcd](facebook@37bcdcd)
github-actions bot pushed a commit to code/lib-react that referenced this pull request Dec 14, 2025
…eference (facebook#35343)

Follow-up to facebook#35296.

We can get `ReferenceError` if this is unavailable. Using `typeof` check
instead for safety.

DiffTrain build for [37bcdcd](facebook@37bcdcd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants