I have a use case where the client should be able to filter out the data required by names. The number of names could be in millions and the user should have access to all of them in a dropdown list. There are certain features that need to be implemented with this dropdown:
- Search the dropdown and get the filtered names according to the search string.
- Click 'Include All' from the dropdown to include all of the filtered names.
- Click 'Clear All' to clear all the selected ones (or a similar approach)
- Be able to remove a few out of those selected ones
The filtered names could be in millions so how should I implement the following functionality? Obviously getting all the data on the client side in one go is not an option as the size of the data could be 100+ mb.
The data is being fetched by nodejs/graphql from google bigquery using standard sql queries and being sent to a react based frontend.