Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Large Data for Table Makes it Too Slow #119

Open
Sanan4li opened this issue Mar 24, 2020 · 4 comments
Open

Large Data for Table Makes it Too Slow #119

Sanan4li opened this issue Mar 24, 2020 · 4 comments

Comments

@Sanan4li
Copy link

I am using Table and fetching data with an API. fetching data doesn't take too much time but when I set the data to a state and display it in the table. It takes almost 7-8 sec.
This issue is probably because of ScrollView. Can you update this component to use FlatList instead of ScrollView?
It will be very good.

@ezranbayantemur
Copy link

This component uses data.map function for render, so it makes rendering slow.
You can use two ways;

  1. Implement pagination for data
  2. Override row.js file to Flatlist component

@dtaborda
Copy link

dtaborda commented Jun 3, 2020

Does exist any pagination component?
Do you have any example about how to override the row.js to Flatlist?

@ezranbayantemur
Copy link

@dtaborda https://github.com/ezranbayantemur/react-native-table-component here I've forked and updated to row.js. I hope it can give you some idea

@itakurashingo
Copy link

When will this issue be merged into the master?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants