Vodič za optimizaciju React aplikacija

https://blog.bloomca.me/2021/10/10/performance-opt... link-img
avatar

Blog post sa pregledom korisnih tehnika za optimizaciju React aplikacija, sa fokusom na stavke koje mogu da donesu najviše koristi u optimizaciji složenijih aplikacija.

In theory, it sounds like we can just subscribe to any changes and not worry about performance at all: the framework will sort it out and will make it efficient enough, right? Well, unfortunately, no. It might work just fine being not very optimized if your application is fairly small, but as soon as your components start to get a lot of calculations inside their render functions and a lot of children, even calculating that tree will become quite an operation, not to mention comparing it to the current DOM tree. Besides, inefficient apps are not great for battery life and temperature, as they use the CPU more aggressively.

1

ULOGUJ SE I DODAJ KOMENTAR


Registruj ili prijavi.

VIDI POPULARNE POSTOVE


12
3
avatar Vukašin pre 15 dana
2
avatar Vukašin pre 15 dana
21
avatar Vukašin pre 16 dana
4
avatar Djordje pre 18 dana
5
9
avatar Nikola pre 18 dana
3
avatar Lazar pre 22 dana
4
avatar Uros pre 27 dana
7
7
avatar Ivan pre 33 dana
8
avatar Vukašin pre 36 dana
2
1
avatar Vukašin pre 36 dana