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

[joy-ui][docs] Add Next.js App Router instructions on how to prevent flickering #42514

Merged
merged 4 commits into from
Jun 9, 2024

Conversation

devnyxie
Copy link
Contributor

@devnyxie devnyxie commented Jun 3, 2024

Added Next.js App Router instructions on how to prevent Flickering on first load.
Tested, works.

Preview:
preview

https://deploy-preview-42514--material-ui.netlify.app/joy-ui/customization/dark-mode/#next-js-app-router

PS:
danilo-leal asked to change the target base to next, and I didn't manage to do it in previous Pull Request - as expected x). Anyways, thanks Danilo!
image

Previous Pull Request

@mui-bot
Copy link

mui-bot commented Jun 3, 2024

Netlify deploy preview

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 8b7e907

@danilo-leal danilo-leal added docs Improvements or additions to the documentation package: joy-ui Specific to @mui/joy labels Jun 3, 2024
Co-authored-by: Danilo Leal <[email protected]>
Signed-off-by: Tim Afanasiev <[email protected]>
@devnyxie devnyxie requested a review from danilo-leal June 4, 2024 08:26
@devnyxie
Copy link
Contributor Author

devnyxie commented Jun 4, 2024

Is everything all right now? 😉

@danilo-leal
Copy link
Contributor

It is on my end! I'd want @siriwatknp to double-check the actual code snippet there, though, and then we can jump in to fix the CI checks!

@devnyxie
Copy link
Contributor Author

devnyxie commented Jun 9, 2024

Hey @siriwatknp! Can you have a look? :)

Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thank you so much for your contribution.

@siriwatknp siriwatknp enabled auto-merge (squash) June 9, 2024 05:24
@siriwatknp siriwatknp merged commit cbab06d into mui:next Jun 9, 2024
19 checks passed
joserodolfofreitas pushed a commit to joserodolfofreitas/material-ui that referenced this pull request Jul 29, 2024
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 package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants