Files
Zack TannerandGitHub 7b524fa2d3 ppr: fail static generation if postponed & missing postpone data (#57786)
When postpone is caught by user code, this will cause PPR not to properly prerender the static parts and thus we need to fail the build. This also adds some messaging about how to fix the error.

Prior to this change, catching code that would normally trigger `postpone ` would silently fail, but the build outputs would be incorrect as there's no postpone data available. 

Relands #57477 with additional tests & fixes
2023-11-01 20:28:13 +00:00

10 lines
142 B
React

import React from 'react'
export default function Root({ children }) {
return (
<html>
<body>{children}</body>
</html>
)
}