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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Improve the performance of the homepage #10152

Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Feb 3, 2018

Improve the bandwidth usage. We are offloading the rendering of the offscreen content from the server to the client. The index.html size:

  • before: 46.7 kB
  • after: 38.8 kB

It's part of my effort to render faster than Bootstrap. It's important to show that people can leverage React and CSS-in-JS to deliver crazy fast user experience 馃殌. Yes, you can have better DX and UX at the same time.

This makes me think that the NoSSR component is a such a useful one that we should be documenting it. I think that adding a new utils documentation group would help. We could have the following pages:

  • Utils
    • Color
    • Spacing
    • Transitions
    • Portal
    • Client Rendering

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Feb 3, 2018
@oliviertassinari oliviertassinari self-assigned this Feb 3, 2018
@oliviertassinari oliviertassinari merged commit 0f0c85b into mui:v1-beta Feb 3, 2018
@oliviertassinari oliviertassinari deleted the docs-homepage-performance branch February 3, 2018 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants