Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

upupming
Copy link
Contributor

Solves #4769

In why-did-you-render, if we want to patch a memoed component, we need to use .type to get the original component being memoed, see:

https://github.com/welldone-software/why-did-you-render/blob/3ec3512d750c49448fe2241e26d05db9e42f0c21/src/patches/patchMemoComponent.js#L11

Copy link

📊 Tachometer Benchmark Results

Summary

A summary of the benchmark results will show here once they finish.

Results

The full results of your benchmarks will show here once they finish.

tachometer-reporter-action v2 for CI

Copy link
Member

@rschristian rschristian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers!

FYI, the main branch here is the upcoming v11 release. Feel free to make a second PR against v10.x, which is where v10 work occurs.

@coveralls
Copy link

Coverage Status

coverage: 99.535% (+0.001%) from 99.534%
when pulling 5f5eb5b on upupming:feat/memo-type-field
into ca610eb on preactjs:main.

@rschristian rschristian merged commit 370319c into preactjs:main Jul 31, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants