React is built for performance; React is used to build massively complex interfaces with thousands of elements, each one potentially responding to user interaction.
Because performance is so fundamental to React, it can be helpful to understand the performance model of various operations at a high level.
|Native UI manipulation||Slow||React attempts to modify the native UI as little as possible.|
|Component render||Fast||It's common for component functions to be called many times as the |
|Comparing props||Very fast||In cases where a component is rendering too frequently and causing performance issues, we can limit the amount of re-renders by only re-rendering when props actually change. We'll cover this in more detail in the next section.|
Want to learn React Native in-depth?