[Flight] Track Owner on AsyncLocalStorage When Available
Stacked on #28798.
Add another AsyncLocalStorage to the FlightServerConfig. This context tracks data on a per component level. Currently the only thing we track is the owner in DEV.
AsyncLocalStorage around each component comes with a performance cost so we only do it DEV. It's not generally a particularly safe operation because you can't necessarily associate side-effects with a component based on execution scope. It can be a lazy initializer or cache():ed code etc. We also don't support string refs anymore for a reason.
However, it's good enough for optional dev only information like the owner.
Comparing: 7f5d25e23e82adef262493794010385f1955f0b6...a0c5e47daf9749a322c7e4c8877d4238e709fe1b
Critical size changes
Includes critical production bundles, as well as any change greater than 2%:
Significant size changes
Includes any change greater than 0.2%:
Expand to show
Generated by :no_entry_sign: dangerJS against a0c5e47daf9749a322c7e4c8877d4238e709fe1b