The Prefetching suggests that if set up correctly, adding dehydratedState should render the result of a query in the server-side render.
The test case for the dehydrated state is invalid as this line should not waitForElementByCss, but instead should expect that this element is present immediately as a result of the SSR.
If the above line is removed, the test fails, when running the test with the browser enabled, the Suspense fallback text can be seen as the server-side render result.
What is the problem?
The Prefetching suggests that if set up correctly, adding
dehydratedState
should render the result of a query in the server-side render.The test case for the dehydrated state is invalid as this line should not
waitForElementByCss
, but instead should expect that this element is present immediately as a result of the SSR.If the above line is removed, the test fails, when running the test with the browser enabled, the Suspense fallback text can be seen as the server-side render result.
Paste all your error logs here:
N/A
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
N/A
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response
I have reached out to @flybayer on Discord and raised this issue as a result of the discussion