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


1
avatar Vukašin pre 5 sati
1
avatar Stefan juče
2
3
avatar Anastasia pre 21 dana
2
avatar Aljosa pre 2 dana
2
avatar Bojan pre 5 dana
1
avatar Stefan pre 6 dana
1
avatar Stefan pre 7 dana
1
avatar Vukašin pre 8 dana
1
avatar Stefan pre 9 dana
1
avatar Vukašin pre 12 dana