appbaseio / reactivebase

Data components for building reactive UIs
Apache License 2.0
18 stars 2 forks source link

How to retrieve the current query #248

Open shili167 opened 5 years ago

shili167 commented 5 years ago

Hi,

Is there a way I can grab the current query? I am using ReactiveList component, it retrieves and displays the items in pagination (10 items at the time). However, I would like to grab the all data retrieved from the query at one time, to be used in export functionality.

Thank you!

metagrover commented 5 years ago

You can get the current query via onQueryChange prop.

To export all data refer: https://github.com/appbaseio/reactivesearch/issues/334