appbaseio / appbaseio/reactivesearch

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

オープン
#1,080 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
JavaScript
スター
4.9k
フォーク
478
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。