2

I am developing an android app using React-Native. I bumped into two UI libraries: React-Native paper and Native-base. I have noticed that my app is slow when I am debugging and I am worried about which of these two libraries has a better performance.

Please assist/recommend.

2 Answers2

4

It depends upon UI requirements in your app. Native base is a large library and has lots of stable cross-platform features hence its build size is also large.

You can compare build size of both UI libraries here https://bundlephobia.com I have compared and got the following results: for Native base view native base build size

for RN paper view RN paper build size

Ankit Dubey
  • 243
  • 3
  • 11
1

with thanks to Ankit Dubey for his way to compare bundle size, you can also use npmtrends for checking and comparing packages via great information about the packages. (you can also change comparison time, eg 6 months, 1 year, 5 years, all time, and so on)

Here, I compare three major react-native UI library, native-base, react-native-elements and react-native-paper: view RN UI library Comparistion

nima
  • 7,796
  • 12
  • 36
  • 53