Open Varixo opened 2 days ago
Qwik optimizer (rust)
if prop is an aliased string, the optimizer does not change props to a single variable Doesn't work:
const Input = component$( ({ 'test': abcd}) => { return <div></div>; } );
Works:
const Input = component$( ({ test: abcd}) => { return <div></div>; } );
https://qwik.dev/playground/#f=Q040lhYkJxqI7yDVrS1ymgFaoFGtoF4CLHTVrRQSk5JTauF%2BR6QjUJMC0rCwBorXcgHdREo6hIYexHq4pzStRxPi0EuIAA
No response
v2
probably same issue https://github.com/QwikDev/qwik/issues/3926
Which component is affected?
Qwik optimizer (rust)
Describe the bug
if prop is an aliased string, the optimizer does not change props to a single variable Doesn't work:
Works:
Reproduction
https://qwik.dev/playground/#f=Q040lhYkJxqI7yDVrS1ymgFaoFGtoF4CLHTVrRQSk5JTauF%2BR6QjUJMC0rCwBorXcgHdREo6hIYexHq4pzStRxPi0EuIAA
Steps to reproduce
No response
System Info
Additional Information
No response