Builder.io
OSS
@builder.io/sdks
perf(Blocks,Block): add deep comparison to block/blocks memo call React.memo uses a shallow comparison, which isn't enough in this case. Using [welldone-software/why-did-you-render](https://github.com/welldone-software/why-did-you-render) I found our homepage content would update 12 times in one load with the wdyr message "different objects that are equal by value". This change adds a deep comparison, which when tested via patch-package, eliminated those re-renders.
nx test @e2e/angular-19-ssr
Sign in / Sign up
Open main menu
Failed
CI Pipeline Execution
6 runs failed
nx test @e2e/angular-19-ssr
Click to copy
Linux
4 CPU cores
read
access token used
497cce7c
4253