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

history and react-router-update - Part 4 #439

Merged
merged 14 commits into from
Mar 18, 2024

Conversation

erinesullivan
Copy link
Contributor

@erinesullivan erinesullivan commented Mar 18, 2024

Overview

This pull request is a continuation of removing withRouter in order to update history and react-router-dom. These components have been rewritten to remove the need for withRouter:

  • AdvancedSearchForm
  • FullRecord
  • RecordListContainer
  • SearchBox
  • GetThisPage
  • GetThisFindIt
  • URLSearchQueryWrapper

Anything else?

To align with current React practices, these class components have been converted to functional components:

  • AdvancedSearchForm
  • FullRecord
  • GetThisFindIt
  • GetThisPage
  • URLSearchQueryWrapper

Testing

  • Make sure the PR is consistent in these browsers:
    • Chrome
    • Firefox
    • Safari
    • Edge
  • Run accessibility tests:
    • WAVE
    • ARC Toolkit
    • axe DevTools
  • Poke around the site and see if anything is broken.

@erinesullivan erinesullivan self-assigned this Mar 18, 2024
@erinesullivan erinesullivan merged commit d2798d2 into master Mar 18, 2024
6 checks passed
@erinesullivan erinesullivan deleted the history-react-router-dom-update-part-4 branch March 18, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant