next.js
a976c918 - Sync devFallbackParams when generateStaticParams change (#85741)

Commit
130 days ago
Sync devFallbackParams when generateStaticParams change (#85741) Since `generateStaticParams` runs in the background, when accessing the `devFallbackParams` during the render, it is still set to the previous result from the cache. Therefore, when the result has changed, re-render the RSC to sync the `devFallbackParams` with the new result. Closes NAR-491 --------- Co-authored-by: Josh Story <story@hey.com>
Author
Parents
Loading