appbaseio / appbaseio/reactivesearch

Is there a good way to make the search "live?"

Open
#1,080 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
4.9k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

**Affected Projects**
React

**Is your feature request related to a problem? Please describe.**
I'm trying to keep my result card list updated when things change in the backend without the user having to execute a new search to get the new results. I was thinking to just set the value to empty again on update to anything that changes the backend. But, since onValueSelected only get executed when you press [enter] I'm not sure how to make the results live. (or even just force a reload of results)

**Describe the solution you'd like**
Either a way to forcibly reload results or update results onValueChange.

**Additional context**
My search is displaying documents that can be changed in the frontend. If a user changes one of these documents and then clicks on one of the result cards afterward, it's possible the document no longer exists.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.