mitosis
mitosis copied to clipboard
bug: when encountering `'` or `"`, `react` and `preact` are not output in the original format, but are consolidated on the same line!
I am interested in helping provide a fix!
Yes
Which generators are impacted?
- [ ] All
- [ ] Angular
- [ ] HTML
- [X] Preact
- [ ] Qwik
- [X] React
- [x] 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
!
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 {""}
Additional Information
No response