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

Next.js app router reload issues #6

Open
cbratschi opened this issue Oct 11, 2023 · 0 comments
Open

Next.js app router reload issues #6

cbratschi opened this issue Oct 11, 2023 · 0 comments

Comments

@cbratschi
Copy link

This issue is most likely not related to this component but I document it here in case someone else has the same issue.

On page changes we pass different collection and ID values to the component. The component always gets fully re-rendered i.e. user changes to undefined and a network request is needed to get the user. This leads to some flickering: admin bar disappears and renders again once the user is known again.

Most likely this is a Next.js issue. The component looks fine and should only load the user once. Will update this ticket once I have more details.

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

No branches or pull requests

1 participant