Closed AhnSinYong closed 6 years ago
pagination would be needed also, now there are already more than 2500 accounts and loading the whole list is slow. Pagination should be done when calling loadAccounts, with a start point and limit ie: Client.getAccountList(0, 200);
export const loadAccounts = () => async (dispatch) => { let accounts = await Client.getAccountList(0, 200); dispatch(setAccounts(accounts)); };
I think your search feature will have to do the search at API client level
Like your suggestion, The pagination API is required. There seems to be no pagination API among the current APIs.
The more accounts have on Explorer, the harder find them.