appbaseio / appbaseio/reactivesearch

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

Offen
#1,080 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
JavaScript
Sterne
4.9k
Forks
478
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.