Ive been building a react native app over the past few months, and one of the pages loads a list of 700 players and will do a bunch of joins and other calculations before showing the list.
All this happens in the container where I also subscribe to the data. The issue I have is that all this reruns every time the container code has to rerun, and this will happen even when small changes occur. The list of 700 may not even change but it still has to be recalculated and this can lead to slow performance. Is there a better way to handle things? Is the best practice to be splitting things into smaller components and multiple parent containers?