next.js
683a318d - Omit params to from client segments (#84883)

Commit
62 days ago
Omit params to from client segments (#84883) If a layout or page is marked with "use client", we do not need to pass any runtime params from the server; the client can parse them from the URL, or (in the case of a rewrite) from the x-next-rewritten-path and x-next-rewritten-query headers. This means the client can treat the segment as fully static, and no dynamic request is necessary upon navigation.
Author
Parents
Loading