Closed lp247 closed 1 month ago
Quick and dirty test. Sorry for the screenshots.
Some observations:
MyTest
once, and subsequently, <my-test>
will me picked up and rendered as such.<my-test>
anymore.This is not very scientific, just poking around. I don't fully understand what is going with these discrepancies.
In 5.0, we removed the Lit integration so we don't plan to address this issue. If you’re interested in maintaining a Lit integration yourself, you may wish to use the last published version of @astrojs/lit
as a starting point and upgrade the relevant packages.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
File src/components/A.js is a lit component with a custom converter for the attribute 'text'. This converter should convert the attribute given as text to the length of the text. This converter is not called.
What's the expected result?
The converter should be called and the rendered text should be "6" instead of "AAAAAA".
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-kwbwgy?file=src%2Fcomponents%2FA.js
Participation