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

Render optimizations #39

Merged
merged 4 commits into from
Sep 22, 2023
Merged

Render optimizations #39

merged 4 commits into from
Sep 22, 2023

Conversation

sxtnkyl
Copy link
Owner

@sxtnkyl sxtnkyl commented Sep 22, 2023

Reducing slow initial load times by:

  • next/dynamic import non-index pages
  • next/dynamic import layout components
  • modularize MUI imports

Although the above did help reduce build times by ~15%, MUI has the following open issue:
mui/material-ui#34905
mui/material-ui#35840

Also hacked around a solution for the AmplifyUI styling into mui theme. Due to the component composition methods of the amplify components, refactoring/recreating the auth flow logic would be a less than ideal solution compared to targeting with css

@sxtnkyl sxtnkyl merged commit 1f348bf into dev Sep 22, 2023
@sxtnkyl sxtnkyl deleted the render-optimizations branch September 26, 2023 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant