Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

MultiList issues two queries on first select

オープン
#2,301 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
elasticsearch, javascript, react
領域
frontend, search

調査の方向性

issue にリンクされている React v3 Step 5 MyAwesomeSearchStep5 CodeSandbox から始め、ReactiveList がそれに依存する状態で最初の MultiList 選択を再現します。2 つの Elasticsearch クエリと MultiList/ReactiveList の更新フローを調査します。初回の選択で選択された値を含むクエリが 1 件発行され、その後の選択も正しい状態を保てれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

Affected Projects
React

Library Version: x.y.z
3.45.0

We have a ReactiveList and a MultiList where ReactiveList depends on MultiList.

When we select an item from MultiList for the first time, then there is two queries issued to elastic for the result.

The first query doesn't contain the selected value from MultiList, whereas the second one does. This issue becomes very problematic if the first query resolves before the second, as the result will be incorrect and it will be as-if the filter isn't selected.

Subsequent filter selects don't have this issue.

This issue is there in the sandbox provided in the documentation

https://docs.reactivesearch.io/docs/reactivesearch/react/v3/overview/quickstart/#step-5-adding-layout-and-styles

https://codesandbox.io/p/sandbox/github/appbaseio/reactivesearch/tree/v3/packages/web/examples/MyAwesomeSearchStep5?from-embed=

主要言語
JavaScript
スター
4.9k
フォーク
479
平均マージ
4日 10時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

appbaseio/reactivesearch のほかの issue

appbaseio/reactivesearch の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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