-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix: const/var props in loops/functions #7085
Conversation
🦋 Changeset detectedLatest commit: 997b672 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hey, are you working on a fix or just adding the failing test case? |
Only test |
I have fixed the JS part of this problem. There is the optimizer bug atm to solve. |
6d0fbaa
to
1b54c66
Compare
commit: |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
...s/qwik/src/optimizer/core/src/snapshots/qwik_core__test__example_functional_component_2.snap
Show resolved
Hide resolved
...s/qwik/src/optimizer/core/src/snapshots/qwik_core__test__example_functional_component_2.snap
Show resolved
Hide resolved
.../core/src/snapshots/qwik_core__test__example_component_with_event_listeners_inside_loop.snap
Outdated
Show resolved
Hide resolved
8f4e541
to
e26a525
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I think it's better but now it's rerendering inline components on every change.
If we keep it like that we should benchmark lists of components vs inlines
...rc/optimizer/core/src/snapshots/qwik_core__test__destructure_args_inline_cmp_block_stmt.snap
Outdated
Show resolved
Hide resolved
...c/optimizer/core/src/snapshots/qwik_core__test__destructure_args_inline_cmp_block_stmt2.snap
Outdated
Show resolved
Hide resolved
...src/optimizer/core/src/snapshots/qwik_core__test__destructure_args_inline_cmp_expr_stmt.snap
Outdated
Show resolved
Hide resolved
...c/optimizer/core/src/snapshots/qwik_core__test__should_wrap_inner_inline_component_prop.snap
Show resolved
Hide resolved
f662fda
to
997b672
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 😎
// edit by Varixo