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

I'm reaching out to report a performance issue. #1462

Open
AndrejNemec opened this issue Apr 12, 2024 · 1 comment
Open

I'm reaching out to report a performance issue. #1462

AndrejNemec opened this issue Apr 12, 2024 · 1 comment

Comments

@AndrejNemec
Copy link

I'm reaching out to report a performance issue.

The problem involves performance in two scenarios:

  1. When updating the search parameters using useNavigation, the entire page, including all layout components and child components, is re-rendered.
  2. When there is a layout component with multiple child pages, navigating between these child pages triggers a re-render of the entire page, including all layout components.

In the classic react-router package, this problem does not exist, there it works as expected, parts are rerendered as expected.

Example Link: https://stackblitz.com/edit/vitejs-vite-ifxs98

Originally posted by @AndrejNemec in #1460

@divmgl
Copy link

divmgl commented Apr 24, 2024

Do we have an update on this? Also having this issue.

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

2 participants