react
react copied to clipboard
Allow wrapping context provider in lazy
Is it OK to export ContextProvider = Context.Provider; from a use client file? If so, behold.
Comparing: 559e83aebb2026035d47aa0ebf842f78d4cd6757...1fb16d0c5189dbc5c8962df8eb17a2b628d0c79a
Critical size changes
Includes critical production bundles, as well as any change greater than 2%:
| Name | +/- | Base | Current | +/- gzip | Base gzip | Current gzip |
|---|---|---|---|---|---|---|
| oss-stable/react-dom/cjs/react-dom.production.min.js | +0.10% | 164.18 kB | 164.35 kB | +0.04% | 51.78 kB | 51.80 kB |
| oss-experimental/react-dom/cjs/react-dom.production.min.js | +0.10% | 171.57 kB | 171.74 kB | +0.07% | 53.99 kB | 54.03 kB |
| facebook-www/ReactDOM-prod.classic.js | +0.07% | 570.19 kB | 570.59 kB | = | 100.62 kB | 100.59 kB |
| facebook-www/ReactDOM-prod.modern.js | +0.08% | 553.93 kB | 554.40 kB | = | 97.80 kB | 97.78 kB |
Significant size changes
Includes any change greater than 0.2%:
(No significant changes)
Generated by :no_entry_sign: dangerJS against 1fb16d0c5189dbc5c8962df8eb17a2b628d0c79a
If this gets merged https://github.com/facebook/react/pull/27168 can likely be closed.