1

From what I understand the views tab on the react native performance monitor shows visible views/total or merged views. From what I can gather... it's better to have these numbers as low as possible and as close together as possible: react-native performance monitor and Understanding React Native Perf Monitor.

I've got two results from the performance monitor:

Before enabling optimization:

enter image description here

After enabling optimization (react-native-screens if you're curious):

enter image description here

As you can see the number of visible views is cut in half with the optimization turned on.

That brings me to my question:

  1. What is the difference between rendering a visible view and a non-visible view? How are they treated differently by the phone?
  2. Would reducing the visible views while leaving the total views makes a significant performance increase on its own? Why?
Will
  • 1,592
  • 12
  • 22
  • After reading the two linked SO threads and some other articles it's still not clear to me what "views" are meant to be here. Are "Views" in general all React components somehow involved in the rendered screen or only really mounted components? – Andru Apr 16 '21 at 21:34

0 Answers0