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


2
2
avatar Lazar pre 3 dana
3
1
avatar Ivan pre 3 dana
2
3
avatar Konstantin pre 3 dana
1
avatar Vukašin pre 3 dana
1
avatar Vukašin pre 4 dana
2
1
avatar Vukašin pre 7 dana
1
avatar Vukašin pre 7 dana
1
avatar Vukašin pre 7 dana
1
avatar Vukašin pre 8 dana