Fix fullstack serialization order for adjacent components (#4600)

* fix serialization order

* add regression test

* split out test into a seperate package

* revert logging

* change order

* opinions on structure

* small wait in hydration order test

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Evan AlmloffandJonathan Kelley authored and GitHub committed 2025-10-03 19:23:34 -07:00
1 parent ecec70f5e8
commit 12fab0f9f7
8 files changed
+215 -15

No files matched your search

+4 -4
View File
@@ -104,10 +104,10 @@ test("assets cache correctly", async ({ page }) => {
// Wait for the nested asset image to be loaded
const nestedAssetImageResponse = await nestedAssetImageFuture;
console.log(
"Nested Asset Image Response:",
nestedAssetImageResponse
);
// console.log(
// "Nested Asset Image Response:",
// nestedAssetImageResponse
// );
// Make sure the nested asset image cache control header does not contain immutable
const nestedAssetCacheControl =
nestedAssetImageResponse.headers()["cache-control"];