Skip to content

Commit aabc247

Browse files
committed
docs: updated to reflect that no hydration doesn't change Lighthouse scores
On the website, this was actually caused by a Tailwind minification error.
1 parent 0eb61b6 commit aabc247

File tree

4 files changed

+2
-16
lines changed

4 files changed

+2
-16
lines changed

docs/0.3.x/en-US/hydration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ But with hydration, the app shell can intelligently melt the iron that it's been
1212

1313
## Performance Costs of Disabling Hydration
1414

15-
Not using hydration will impact your site's performance when the user first loads a page (moving around within the app is no problem), because the browser has to do a little more work, but it also has to completely re-display your site. The difference probably won't be noticeable to users, but tools like Lighthouse will notice this and will penalise your site for it.
15+
Not using hydration will impact your site's performance when the user first loads a page (moving around within the app is no problem), because the browser has to do a little more work, but it also has to completely re-display your site. The difference shouldn't be visible to users at all unless they try to scroll as soon as your site loads (as in within less than half a second on modern machines), in which case they'll be thrown back to the top of the site. However, Lighthouse doesn't seem to notice any differences, so your scores there won't change!
1616

1717
Notably, to make hydration better for the community, you should file any bugs about hydration on [the Sycamore repository](https://github.com/sycamore-rs/sycamore).

docs/0.3.x/en-US/what-is-perseus.md

-7
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,6 @@ The only issue that prevents Perseus from achieving a consistent perfect score o
7272
</details>
7373

7474
<details>
75-
<summary>I'm seeing really low scores on mobile...</summary>
76-
77-
Right now, it's possible that you may see scores of around 50 on mobile for this website, though do not be alarmed! This is caused by a bug in Sycamore's [hydration systems](:hydration) which makes the Perseus website unusable, so we have to disable hydration. This means Perseus has to render a page and then re-render the whole thing (which you may have noticed if you try to scroll really soon after opening this site).
78-
79-
For the vast majority of sites, you'll be able to use hydration without a problem, and you should see _much_ higher scores (well into the 90s), though there are still some pain points for this website in particular that are being worked through (these should be sorted quite soon)!
80-
81-
</details>
8275

8376
If you're interested in seeing how Perseus compares on speed and a number of other features to other frameworks, check out the [comparisons page](comparisons).
8477

docs/next/en-US/hydration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ But with hydration, the app shell can intelligently melt the iron that it's been
1212

1313
## Performance Costs of Disabling Hydration
1414

15-
Not using hydration will impact your site's performance when the user first loads a page (moving around within the app is no problem), because the browser has to do a little more work, but it also has to completely re-display your site. The difference probably won't be noticeable to users, but tools like Lighthouse will notice this and will penalise your site for it.
15+
Not using hydration will impact your site's performance when the user first loads a page (moving around within the app is no problem), because the browser has to do a little more work, but it also has to completely re-display your site. The difference shouldn't be visible to users at all unless they try to scroll as soon as your site loads (as in within less than half a second on modern machines), in which case they'll be thrown back to the top of the site. However, Lighthouse doesn't seem to notice any differences, so your scores there won't change!
1616

1717
Notably, to make hydration better for the community, you should file any bugs about hydration on [the Sycamore repository](https://github.com/sycamore-rs/sycamore).

docs/next/en-US/what-is-perseus.md

-7
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,6 @@ The only issue that prevents Perseus from achieving a consistent perfect score o
7272
</details>
7373

7474
<details>
75-
<summary>I'm seeing really low scores on mobile...</summary>
76-
77-
Right now, it's possible that you may see scores of around 50 on mobile for this website, though do not be alarmed! This is caused by a bug in Sycamore's [hydration systems](:hydration) which makes the Perseus website unusable, so we have to disable hydration. This means Perseus has to render a page and then re-render the whole thing (which you may have noticed if you try to scroll really soon after opening this site).
78-
79-
For the vast majority of sites, you'll be able to use hydration without a problem, and you should see _much_ higher scores (well into the 90s), though there are still some pain points for this website in particular that are being worked through (these should be sorted quite soon)!
80-
81-
</details>
8275

8376
If you're interested in seeing how Perseus compares on speed and a number of other features to other frameworks, check out the [comparisons page](comparisons).
8477

0 commit comments

Comments
 (0)