Skip to content

Commit

Permalink
docs: Describe patch files
Browse files Browse the repository at this point in the history
Provide rationale for patch-package modifications.
  • Loading branch information
dcalhoun committed Dec 5, 2024
1 parent bb56ce8 commit 272e6e5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions patches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,16 @@ See https://github.com/facebook/react/pull/17883.

### `patches/react-devtools-core+4.28.5.patch`

No notes.
The mobile editor relies upon `jsdom-jscore-rn` to create a partial DOM
environment, which causes `react-devtools-core` to believe it's running in a
browser environment. We added a custom conditional to disable browser-specific
features when running in a `jsdom-jscore-rn` environment.

See https://github.com/WordPress/gutenberg/pull/47616.

### `patches/react-native+0.73.3.patch`

No notes.
Accessibility changes in React Native 0.73.0 resulted in a broken braille screen
input on iOS. This patch is a workaround to restore the previous behavior.

See https://github.com/WordPress/gutenberg/pull/53895.

0 comments on commit 272e6e5

Please sign in to comment.