solid-start icon indicating copy to clipboard operation
solid-start copied to clipboard

[Bug] Whitespace Around JSX Expressions in Native DOM Elements Errs on Load

Open tcardlab opened this issue 3 years ago • 0 comments

Spaces around {props.title} [line 10] generates error on page load:

Screen Shot 2022-10-31 at 10 18 30 PM

Removing spaces around {props.title} [line 10] fixes error:

Screen Shot 2022-10-31 at 10 18 52 PM

Console Error:

Screen Shot 2022-10-31 at 10 34 38 PM

Discovery: https://stackblitz.com/edit/github-7nvpqz-6bopea?file=src/components/Page.tsx

Minimum reproduction (with bumped versions): https://stackblitz.com/edit/github-7nvpqz-z7feez?file=src/components/Page.tsx

Note: custom elements not affected by bug

tcardlab avatar Nov 01 '22 02:11 tcardlab