Tirraa / dashboard_rtm

dashboard_rtm
MIT License
5 stars 1 forks source link

[Blog][Opti] Split MDX component into chunked components when `body.code` is too long #108

Closed gustaveWPM closed 3 months ago

gustaveWPM commented 5 months ago

Just a side note... Dunno if it would reduce the hydration overhead on pagespeed insights for big blog articles/pages/landing pages...

gustaveWPM commented 5 months ago

I'm testing this hypothesis...

https://github.com/Tirraa/dashboard_rtm/commit/28fc13629f79ab67b03c0c1a65ee23e410f690ac

Will benchmark this URL: https://dashboard-rtm.vercel.app/en/blog/patch-notes/dashboard/post-05

gustaveWPM commented 5 months ago

This does not seem to fix the hydration TBT stress... image

Closing for now. :(

gustaveWPM commented 5 months ago

Well... Since the v1.1.0 will be released in several months... I'll just reopen it and praise that the conditional hydration will be improved.

gustaveWPM commented 5 months ago

Now that the SSG came back (https://github.com/Tirraa/dashboard_rtm/issues/115)...

gustaveWPM commented 5 months ago

Wait & see...

gustaveWPM commented 3 months ago

Nogo. This problem is not replicated in https://tailwind-nextjs-starter-blog.vercel.app/

So it comes from something in the codebase. It's not due to Contentlayer, nor to Next, and it doesn't require to be "Workaround-ed".