Skip to content

Conversation

Mr0grog
Copy link
Member

@Mr0grog Mr0grog commented Sep 9, 2025

There are a whole bunch of changes here, but most revolve around converting small components to function components or wrapping more complex ones in function components, since v6 has embraced hooks wholesale, and there's not another way to do a lot of fundamental things anymore.

Part of #1082, obsoletes #1035.

There are a whole bunch of changes here, but most revolve around converting small components to function components or wrapping more complex ones in function components, since v6 has embraced hooks wholesale, and there's not another way to do a lot of fundamental things anymore.

Part of #1082, obsoletes #1035.
I think I went a little too far in the last commit, putting all the URL params directly on the component as individual props. This keeps them together as a single `urlParams` prop, which I think is a little better organized.
@Mr0grog Mr0grog mentioned this pull request Sep 8, 2025
19 tasks
@Mr0grog Mr0grog merged commit 32bbe26 into main Sep 9, 2025
4 checks passed
@Mr0grog Mr0grog deleted the upgrade-react-router-6.x branch September 9, 2025 05:41
@github-project-automation github-project-automation bot moved this from Inbox to Done in Web Monitoring Sep 9, 2025
Mr0grog added a commit that referenced this pull request Sep 16, 2025
During our React Router v6 upgrade (#1099), I unintentionally created a situation where the search bar owuld be blown away and its state (and your current query) would be lost when the search actually runs and results are shown. This solves the issue, although it takes some hacky code and makes it hackier still. :(
Mr0grog added a commit that referenced this pull request Sep 16, 2025
During our React Router v6 upgrade (#1099), I unintentionally created a situation where the search bar owuld be blown away and its state (and your current query) would be lost when the search actually runs and results are shown. This solves the issue, although it takes some hacky code and makes it hackier still. :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant