Pass loading boundary as part of RSC data (#87825)
Based on: - https://github.com/vercel/next.js/pull/87203 - https://github.com/vercel/next.js/pull/87256 - https://github.com/vercel/next.js/pull/87293 --- Removes the `loading` as a separate field in the server response payload. Instead, it is passed as part of the component data (the `rsc` field). This simplifies much of the logic on the client because, logically, they were already coupled. Unifying the fields removes the possibility that they'll get out of sync due to some implementation mistake.
Showing
Please
register
or
sign in
to comment