next.js
c7a338df - Resolve Viewport separately from Metadata (#77427)

Commit
333 days ago
Resolve Viewport separately from Metadata (#77427) Viewport blocks the root while Metadata no longer does. However Metadata requires the reading of dynamic params for things like icon loading and other features that require the path whereas viewport does not. Reading the path in fallback prerenders is considered dynamic when DIO is enabled which means that any dynamic route with a file based metadata such as an icon will trigger dynamic at the root. To Address this we simply resolve viewport separately from metadata.
Author
Parents
Loading