Will memo() become the default behavior of a react component?

Опубликовано: 29 Март 2026
на канале: АйТи Синяк
8,484
732

Preparing for the release on memo(), I often came across various discussions. They say it is more profitable to wrap absolutely all components in memo(), as a result you will improve the performance. The first thought that flashed through my mind, this idea sounds extremely strange. But after thinking about it for a bit, I realized that this idea makes sense...

github issue: https://github.com/facebook/react/iss...
blog: https://blog.isquaredsoftware.com/202...
Dan Abramov:   / 1083897065263034368  

You can support Aiti Sinyak here:
YouTube:    / @it-sin9k  
boosty: https://boosty.to/sin9k
Patreon:   / itsin9k  

00:00 Topic announcement
00:32 Studying the StackOverflow post
02:30 Why did this question arise?
03:35 Studying the github issue
04:35 So will memo become the default component?
05:08 An example when memo does not work
06:30 Double wrapping in shallowEqual
07:06 Looking for confirmation of the theory
08:35 Let's sum it up
09:12 Subscribe!

Subscribe to the channel:    / @it-sin9k  
Twitter:   / it_sin9k  

-------------------------

This channel was created to initiate conversations on various topics in the IT sphere (social / technical), as well as for those for whom a short video summary of an article, a speech at a conference or just personal thoughts is a more convenient format