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

fix(vue): don't spread in ais-state-results #6481

Merged
merged 1 commit into from
Dec 21, 2024
Merged

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Dec 19, 2024

We no longer document directly using the query for example in the ais-state-results component, read it either from state or results.

The connectStateResults connector is removed, as we don't use it anymore but a render listener instead.

FX-3194

BREAKING CHANGE: connectStateResults is no longer exposed from Vue InstantSearch
BREAKING CHANGE: the slot in ais-state-results receives an object with results, state, status and error, no longer direct access to e.g. query

We no longer document directly using the `query` for example in the ais-state-results component, read it either from state or results.

[FX-3194]

BREAKING CHANGE: connectStateResults is no longer exposed from Vue InstantSearch
BREAKING CHANGE: the slot in ais-state-results receives an object with `results`, `state`, `status` and `error`, no longer direct access to e.g. `query`
@Haroenv Haroenv requested review from dhayab and sarahdayan December 19, 2024 08:50
Copy link

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 fbb6eb4:

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 Dec 20, 2024
@Haroenv Haroenv merged commit cb0c80b into next Dec 21, 2024
11 checks passed
@Haroenv Haroenv deleted the fix/state-results branch December 21, 2024 08:51
Haroenv added a commit that referenced this pull request Dec 26, 2024
We no longer document directly using the `query` for example in the ais-state-results component, read it either from state or results.

[FX-3194]

BREAKING CHANGE: connectStateResults is no longer exposed from Vue InstantSearch
BREAKING CHANGE: the slot in ais-state-results receives an object with `results`, `state`, `status` and `error`, no longer direct access to e.g. `query`
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