Returning false from shouldComponentUpdate doesn’t always stop React from calling the render method. For example, if the page was rendered server side, even if shouldComponentUpdate returns false React will call render again client side. In my point of view that is wrong (it should use the stuff already provided from the server, especially if shouldComponentUpdate returns false).
batanun
11
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Why is this memoized selector still causing extra renders? | 2 | 4 | April 7, 2026 | |
|
Meet the React Component question
|
3 | 404 | August 12, 2021 | |
| Learning React, Creating Complex Component - not rendering properly | 3 | 508 | October 15, 2018 | |
| Codes not working | 3 | 587 | November 12, 2019 | |
| What causes input lag in complex React style apps? | 1 | 4 | April 1, 2026 |