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

fix(core): spread props, className #5998

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Conversation

wmertens
Copy link
Member

@wmertens wmertens commented Mar 12, 2024

It works by, when a component has spread props (dynamic_component is true), putting all props in the mutable props and tagging them as immutable by also setting their key in the immutable props to _IMMUTABLE.
Then, in SSR and DOM, the visitors are changed to give precedence to immutable props when both mutable and immutable are defined.

the deprecation warnings suffice, no need for extra handling, especially since some users report not being able to avoid it.
Copy link

netlify bot commented Mar 12, 2024

👷 Deploy request for qwik-insights pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit d6b5824

@wmertens wmertens requested a review from mhevery March 12, 2024 15:49
@wmertens wmertens merged commit 164d364 into QwikDev:main Mar 12, 2024
23 checks passed
@wmertens wmertens deleted the update-rust branch March 12, 2024 17:40
Copy link
Member

@gioboa gioboa left a comment

Choose a reason for hiding this comment

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

You rock @wmertens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants