Paratii-Video / paratii-portal

Component-based web-interface for uploading, browsing and organising content of Paratii's P2P network.
GNU General Public License v3.0
12 stars 5 forks source link

Do not reload balances on each render #753

Closed bent0b0x closed 6 years ago

bent0b0x commented 6 years ago

Calling a function that will update state/props of a component can easily lead to a ton of re-renders across many components. We should avoid this at all costs 😅.

This was causing issues with performance