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

refactor(routing): simplify historyRouter and tests #6503

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Dec 31, 2024

Summary

simplify the history router to no longer have a class layer, and rework the tests to have less duplicates, more structured files.

Copy link

codesandbox-ci bot commented Dec 31, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 2803354:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

@Haroenv Haroenv changed the title fix(history): prevent UMD name mangling refactor(routing): simplify historyRouter and tests Dec 31, 2024
@Haroenv Haroenv marked this pull request as ready for review December 31, 2024 16:01
@Haroenv Haroenv added this to the instantsearch.js v5 milestone Jan 8, 2025
@Haroenv Haroenv force-pushed the fix/prevent-rename branch from 36ca30f to 3626037 Compare January 9, 2025 10:40
@Haroenv Haroenv force-pushed the fix/prevent-rename branch from 3626037 to 2803354 Compare January 9, 2025 13:25
Copy link
Member

@dhayab dhayab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I discarded the false-positive security issue from Codacy.

@Haroenv Haroenv merged commit 7d541f7 into next Jan 13, 2025
10 checks passed
@Haroenv Haroenv deleted the fix/prevent-rename branch January 13, 2025 10:15
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

Successfully merging this pull request may close these issues.

2 participants