appbaseio / appbaseio/reactivesearch

Support onData(..) prop to also receive # of aggregation terms

Open
#174 2 comments 0 reactions 0 assignees View on GitHub
enhancement idea :thinking:
Dominant language
JavaScript
Stars
4.9k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

**Issue Type:**

Enhancement / Idea

**Description:**

Add a extra arg in the `onData(..)` method of components that either perform aggregation or receive hits for `resultStats`.

This can enable the user to customize component's display behavior: For instance, if results found are below a threshold - hide the component from the view, or decide to not update the previous component's view and make the values un-selectable.

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.