Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For auto-memoized array props, use shallow comparison except when an item is a plain object #19

Open
aleclarson opened this issue Aug 15, 2023 · 0 comments
Labels
enhancement New feature or request feature: compiler Related to the component compiler

Comments

@aleclarson
Copy link
Contributor

When an inline array contains no function calls, we can skip a dependency array entirely and just shallow compare the array (with a special case of recursive comparison for plain objects).

@aleclarson aleclarson added the enhancement New feature or request label Aug 15, 2023
@aleclarson aleclarson added the feature: compiler Related to the component compiler label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature: compiler Related to the component compiler
Projects
None yet
Development

No branches or pull requests

1 participant