Open ayangweb opened 1 year ago
Thanks for reporting. Your particular example is the logic that handles the Mitosis compile-away component For
, which is different for each generator. I can show you the .join('\n')
in the case of the React generator (which also runs for React Native):
removing the newline here should fix the issue for React.
If you want to fix this for all generators, you will have to go to each generator individually and replace the newlines with empty strings.
I am interested in helping provide a feature!
Yes
Which generators are impacted?
What problem does this feature solve?
Some frames are generated with unnecessary blank lines!
preview
react
stencil
ng
preact
What does the proposed API look like?
Usage Scenarios:
This looks very clunky if it's a
demo
with previewable code blocks!Additional Information
No response