Error for ssg and ssr exports from client components in build time (#40106)
Follow up for #39953
Detect invalid gSSP/gSP exports in page or layout client components in build time instead of checking them in runtime, in this way we can:
* Error to user eariler with traced file path, help user find the incorrect usage easier
* Make the flight client loader simpler, headless, aligned with react
Co-authored-by:
JJ Kasper <22380829+ijjk@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment