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

Avoid using the entire router object in dependencies #2300

Open
coderabbitai bot opened this issue Nov 7, 2024 · 0 comments
Open

Avoid using the entire router object in dependencies #2300

coderabbitai bot opened this issue Nov 7, 2024 · 0 comments
Assignees

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 7, 2024

As discussed in PR #2296, it's recommended to avoid including the entire router object in the dependencies array in pages/sites/[slug]/[locale]/projects-archive/[p].tsx at line 190. Instead, specify only the needed properties to prevent unnecessary re-renders.

Comment reference

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