qwik icon indicating copy to clipboard operation
qwik copied to clipboard

[๐Ÿž] Can't store JSX in Signal

Open mhevery opened this issue 2 years ago โ€ข 3 comments

Which component is affected?

Qwik Runtime

Describe the bug

I expect this to work:

import { component$, useSignal } from '@builder.io/qwik';

export default component$(() => {
  const jsx = useSignal(<div>hello</div>);
  return <div>{jsx.value}</div>;
});

Bet I get [object Object] when rendered.

Reproduction

stackblitz.com/edit/qwik-starter-58wnjg

Steps to reproduce

No response

System Info

na

Additional Information

No response

mhevery avatar Mar 27 '23 20:03 mhevery

@mhevery Do you mind if I take care of this?

rjsdnql123 avatar Apr 23 '23 13:04 rjsdnql123

Go for it!

Get Outlook for iOShttps://aka.ms/o0ukef


From: rjsdnql123 @.> Sent: Sunday, April 23, 2023 2:04:16 PM To: BuilderIO/qwik @.> Cc: Miลกko Hevery @.>; Mention @.> Subject: Re: [BuilderIO/qwik] [๐Ÿž] Can't store JSX in Signal (Issue #3530)

@mheveryhttps://github.com/mhevery Do you mind if I take care of this?

โ€” Reply to this email directly, view it on GitHubhttps://github.com/BuilderIO/qwik/issues/3530#issuecomment-1519063324, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAA3KT52XHCQCQ6KZ6SF2Q3XCUSFBANCNFSM6AAAAAAWJUIT3Y. You are receiving this because you were mentioned.Message ID: @.***>

mhevery avatar Apr 23 '23 14:04 mhevery

@mhevery Do you mind if I take care of this?

Hi @rjsdnql123 do you have any news on this?

gioboa avatar Sep 09 '23 19:09 gioboa