mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
9484919a62
When validating a dynamic route in dev with Cache Components we must not use more params than would be know at build time because we want to ensure dev acts as an appropriate debug environment for build validation issues. Any time a validation fails for reasons other than fallback params it would have failed as well with fallback params. So we find the smallest set of fallback params that would be used during the build (which might be empty if you provide a complete set through generateStaticParams) and we use that.
15 KiB
15 KiB