Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

feat(connectStateResults): expose isSearchStalled #933

Merged
merged 2 commits into from
Feb 2, 2018

Conversation

samouss
Copy link
Collaborator

@samouss samouss commented Feb 1, 2018

Summary

Required by #896

This PR expose the flag isSearchStalled through the connectStateResults connector. It could be interesting to have this information for an Autocomplete experience for example. In order to avoid to inject this props everywhere we can compose the connectors.

const AutoCompleteConnected = connectAutoComplete(connectStateResults(AutoComplete));

@samouss samouss requested review from bobylito and Haroenv February 1, 2018 17:12
Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@bobylito bobylito left a comment

Choose a reason for hiding this comment

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

Nice :)

@algobot
Copy link
Contributor

algobot commented Feb 2, 2018

Deploy preview for react-instantsearch ready!

Built with commit b571f7a

https://deploy-preview-933--react-instantsearch.netlify.com

@samouss samouss force-pushed the feat/is-search-stalled-from-connect-state branch from 8313748 to b571f7a Compare February 2, 2018 12:56
@samouss samouss merged commit f45ba27 into master Feb 2, 2018
@samouss samouss deleted the feat/is-search-stalled-from-connect-state branch February 2, 2018 13:52
samouss added a commit that referenced this pull request Feb 6, 2018
<a name="4.5.0"></a>
# [4.5.0](v4.4.2...v4.5.0) (2018-02-06)

### Bug Fixes

* **connectRange:** use the same behaviour for currentRefinement in getMetadata ([#923](#923)) ([08917b6](08917b6))
* **connectToggle:** use currentRefinement in metadata instead of the label ([#909](#909)) ([89cae2b](89cae2b))
* **StarRatings:** always show the stars below ([#929](#929)) ([22bf93a](22bf93a))

### Features

* **connectStateResults:** expose isSearchStalled ([#933](#933)) ([f45ba27](f45ba27))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants