CARVIEW |
Select Language
HTTP/2 200
date: Tue, 05 Aug 2025 04:34:40 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/microsoft/react-native-windows.git
etag: W/"ed74f90518cfd488725b02ec20aea1a8"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=f1UOa2CBvJTTsXnc8cY67wI0O0HaHlEA8Vz3JJZfjCijT%2FkgqLgbqbkpVnmvibyBa%2FW8etvadnoVXjzR%2FcKgdtKg7omu4MVzgTOTVZ2a088o0SIMW9v6Vv9sBC6GoliXPeaKuPCraReK9BVBafk1v1%2BDUKNeCXkP6DqOxNzBYbPy8LlKrRDpos3TSwGWeLpDA19tgI%2FsSlUpOSGuf20xJ0l4pMe5Zn74UYnvCQhkGNL7zWZYLnMnqbw%2Fby2tY74%2FvWXjeOEEPmcqFm9NzOi8KQ%3D%3D--%2FBTEIfVeERiis8Ux--WqmjilwjYzYkKDj5w7HV0Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1035653798.1754368479; Path=/; Domain=github.com; Expires=Wed, 05 Aug 2026 04:34:39 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 05 Aug 2026 04:34:39 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9258:2B6330:1CC851:28630F:689189DF
Remove Paper-only code from Fabric builds of Microsoft.ReactNative (#… · microsoft/react-native-windows@3cba4c4 · GitHub
Copy file name to clipboard
Copy file name to clipboardExpand all lines: vnext/Desktop/React.Windows.Desktop.vcxproj
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative.Cxx/ReactContext.h
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative/IReactContext.cpp
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative/IReactContext.h
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative/IReactContext.idl
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative/IReactPackageBuilder.idl
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit 3cba4c4
authored
Remove Paper-only code from Fabric builds of Microsoft.ReactNative (#14289)
## Description
Removes most of the Paper-only code from Fabric builds of Microsoft.ReactNative. This is only a first pass - there may be more that needs to be removed (or stuff that needs to be put back in).
### Type of Change
- Bug fix (non-breaking change which fixes an issue)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
### Why
Besides nearly doubling the size of the binary files, all of the Paper-only code is functionally useless in Fabric builds, which at worse is dead weight, and at best is confusing to developers.
Resolves #13405
### What
Updated project files to not load/compile paper-only modules. Updated modules that are used by both to correctly only include the Paper or Fabric code they need.
## Screenshots
None, but here are some preliminary binary size numbers for x64 release:
| File | Paper | Fabric (Before) | Fabric (After) |
|:-|:-:|:-:|:-:|
| Microsoft.ReactNative.dll | 4.02 MB | 8.32 MB | 6.47 MB (🔻1.85 MB / 22% ) |
| Microsoft.ReactNative.winmd | 64.0 KB | 121.0 KB | 92.0KB (🔻29 KB / 24%) |
## Testing
Verified all existing tests still pass and fabric apps work.
## Changelog
Should this change be included in the release notes: _yes_
Remove Paper-only code from Fabric builds of Microsoft.ReactNative1 parent 6620dc0 commit 3cba4c4Copy full SHA for 3cba4c4
File tree
Expand file treeCollapse file tree
31 files changed
+236
-191
lines changedFilter options
- change
- vnext
- Desktop
- Microsoft.ReactNative.Cxx
- Microsoft.ReactNative
- Fabric/Composition
- Modules
- Animated
- ReactHost
- Utils
- Views
- PropertySheets
- Shared
Expand file treeCollapse file tree
31 files changed
+236
-191
lines changedchange/react-native-windows-73433f3d-c91f-4ae8-9618-75adc965a722.json
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + |
vnext/Desktop/React.Windows.Desktop.vcxproj
Copy file name to clipboardExpand all lines: vnext/Desktop/React.Windows.Desktop.vcxproj-3Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 | 152 |
| |
156 | 153 |
| |
157 | 154 |
| |
|
vnext/Microsoft.ReactNative.Cxx/ReactContext.h
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative.Cxx/ReactContext.h+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
| 68 | + | |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
|
vnext/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 | 12 |
| |
14 | 13 |
| |
15 | 14 |
| |
|
vnext/Microsoft.ReactNative/IReactContext.cpp
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative/IReactContext.cpp+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
| 124 | + | |
125 | 125 |
| |
126 | 126 |
| |
127 | 127 |
| |
|
vnext/Microsoft.ReactNative/IReactContext.h
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative/IReactContext.h+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
vnext/Microsoft.ReactNative/IReactContext.idl
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative/IReactContext.idl+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| |||
185 | 185 |
| |
186 | 186 |
| |
187 | 187 |
| |
188 |
| - | |
| 188 | + | |
189 | 189 |
| |
190 | 190 |
| |
191 | 191 |
| |
|
vnext/Microsoft.ReactNative/IReactPackageBuilder.idl
Copy file name to clipboardExpand all lines: vnext/Microsoft.ReactNative/IReactPackageBuilder.idl+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
|
You can’t perform that action at this time.
0 commit comments