next.js
fbde3879 - Name the prefetch header values

Commit
17 days ago
Name the prefetch header values The values of the next-router-prefetch header were string literals at every site that sends or reads them, so nothing tied a '2' on the client to the '2' on the server. They're now named constants, and the server reads a runtime prefetch's requested stage as one value instead of a flag per kind.
Author
Committer
Parents
Loading