Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude React Compiler runtime from inline requires (#1390)
Summary: Similar to #1126. This call is in every component on every render and it is not beneficial to inline it. On the contrary, you want to reduce the indirection there. Changelog: [Performance] Exclude React Compiler runtime from inline requires <!-- Changelog entries should be prefixed with one of the following scopes: [Breaking, Feature, Fix, Performance, Deprecated, Experimental, Internal] Examples: Changelog: [Fix] Respond with HTTP 404 when a bundle entry point cannot be resolved Changelog: [Internal] --> Changelog: Pull Request resolved: #1390 Test Plan: Before: <img width="846" alt="Screenshot 2024-11-17 at 18 01 25" src="https://github.com/user-attachments/assets/3e04a6b0-dd41-4374-8872-bfc5a1982866"> After: <img width="814" alt="Screenshot 2024-11-17 at 18 08 05" src="https://github.com/user-attachments/assets/fb9cd5dc-2f50-440a-a175-1859e63752a9"> Reviewed By: GijsWeterings Differential Revision: D66075145 Pulled By: robhogan fbshipit-source-id: 11a12fbd04620bdb3e5b9320aca8a02c1f05803f
- Loading branch information