Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: improve mobile page performance #927

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

charIeszhao
Copy link
Member

@charIeszhao charIeszhao commented Dec 11, 2024

Summary

Improve mobile page performance on initial loading

  • Hide right side doc TOC on mobile, as previously it would still impact the mobile layout on init, and the page jitters when its state gets updated

Growing from:
image

Back to 76-86-ish

@charIeszhao charIeszhao requested a review from a team December 11, 2024 13:55
@charIeszhao charIeszhao self-assigned this Dec 11, 2024
Copy link

cloudflare-workers-and-pages bot commented Dec 11, 2024

Deploying logto-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0dabb01
Status: ✅  Deploy successful!
Preview URL: https://61dd1b78.logto-docs.pages.dev
Branch Preview URL: https://charles-performance-optimiza.logto-docs.pages.dev

View logs

@charIeszhao charIeszhao force-pushed the charles-performance-optimization branch from d71fe64 to b3d7136 Compare December 12, 2024 02:23
@charIeszhao charIeszhao force-pushed the charles-performance-optimization branch from 4a90959 to 0dabb01 Compare December 12, 2024 03:27
@charIeszhao charIeszhao merged commit 462b22f into master Dec 12, 2024
5 checks passed
@charIeszhao charIeszhao deleted the charles-performance-optimization branch December 12, 2024 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants