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(instantsearch): replace "helper" with the value of "mainHelper" #6516

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Jan 8, 2025

FX-3212

  1. remove search.helper
  2. rename search.mainHelper to search.helper

BREAKING CHANGE: the value search.helper is what used to be search.mainHelper. search.mainHelper no longer exists. Use either search.helper now or search.mainIndex.getHelper()

Copy link

codesandbox-ci bot commented Jan 8, 2025

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 631f1c6:

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 added this to the instantsearch.js v5 milestone Jan 8, 2025
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 definitely cleaner and removes complexity, thanks!

@Haroenv Haroenv force-pushed the refactor/helper-mainHelper branch from b5737af to 631f1c6 Compare January 9, 2025 10:35
@Haroenv Haroenv merged commit 900dea9 into next Jan 9, 2025
1 of 3 checks passed
@Haroenv Haroenv deleted the refactor/helper-mainHelper branch January 9, 2025 10:36
Haroenv added a commit that referenced this pull request Jan 9, 2025
…er" (#6516)

* refactor(instantsearch): remove "helper" in favor of "mainHelper"

[FX-3212]

* refactor(instantsearch): rename "mainHelper" to "helper"

[FX-3212]


BREAKING CHANGE: the value search.helper is what used to be search.mainHelper. search.mainHelper no longer exists. Use either search.helper now or search.mainIndex.getHelper()
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