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

bug: when encountering ' or ", react and preact are not output in the original format, but are consolidated on the same line! #1262

Open
3 of 12 tasks
ayangweb opened this issue Aug 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ayangweb
Copy link
Contributor

ayangweb commented Aug 28, 2023

I am interested in helping provide a fix!

Yes

Which generators are impacted?

  • All
  • Angular
  • HTML
  • Preact
  • Qwik
  • React
  • React-Native
  • Solid
  • Stencil
  • Svelte
  • Vue
  • Web components

Reproduction case

https://mitosis.builder.io/?outputTab=E4UwhgxgLkA%3D&code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFAT0AD0iw4bEjmRN4JZADsAxjG6a4AWQCeAYQqRN6TTAAUASkQS4cbRE2p4AbU04Q6ABo4DBgAOT90AF04AF4UDGw8dFsqbHQAN3Qqe0lnOCh0GGQoA1s8lwAeAD5ylzgASQByShw4fE9aypZgdKr2mAqebt6pOrr%2B6ipOuArUMBxNPvRPQbmFmrHBjbgciUIgA%3D%3D

Expected Behaviour

Expect react and preact to work like solid!

image

Actual Behaviour

When encountering ' or ", react and preact are not output in the original format, but are consolidated on the same line! And it generates a bunch of useless {""}
image

Additional Information

No response

@ayangweb ayangweb added the bug Something isn't working label Aug 28, 2023
@ayangweb ayangweb changed the title When encountering ' or ", react and preact are not output in the original format, but are consolidated on the same line! bug: when encountering ' or ", react and preact are not output in the original format, but are consolidated on the same line! Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant