[✨] deprecate signals on regular DOM attributes #137
wmertens
started this conversation in
Proposals For Qwik
Replies: 1 comment
-
|
We moved this issue to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
When writing a component that forwards class, the correct way to forward it is
(props.class as Signal<string>)?.value ?? props.class as string.This is a mouthful and there's no reason to support this, because the optimizer will forward class={signal.value} correctly.
Describe the solution you'd like
Deprecate signals as DOM attribute values except where expected, like bind: value
Describe alternatives you've considered
.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions