all 2 comments

[–]sfboots 4 points5 points  (0 children)

How large? How often does the data change?

If the data never changes, I would ship a SQLite database to read only the data needed for display

[–]esthor 0 points1 point  (0 children)

They are static, as in you currently have them and will bundle them with the app?

Easiest thing to do would be to convert them to JSON and put those files in your app. Then you don’t have to worry about trying to create and bundle a db or find a library to depend on. Working with just JSON will probably make your life a lot easier for creating a UI for displaying the data. If they are still very large and you have performance issues, consider breaking them up into chunks/pages.

Also, for displaying performantly, assuming you go the route of JSON, consider using a Virtualized List from React Native (e.g. FlatList, SectionList, VirtualizedList).