next.js
fbe034ae - Remove workStore from metadata resolution chain (#90217)

Commit
4 days ago
Remove workStore from metadata resolution chain (#90217) Stacked on #90215 workStore was threaded through 6 functions in resolve-metadata.ts and the entire createMetadataComponents closure but only used once for workStore.route in accumulateMetadata. It now reads from workAsyncStorage.getStore() at that single usage site instead. This eliminates workStore from the createMetadataComponents parameter list entirely, bringing it one step closer to being replaceable with plain components.
Author
Parents
Loading