LEGACY REPO. This repository is for maintenance of the legacy LitElement library. The LitElement base class is now part of the Lit library, which is developed in the lit monorepo.
We are having some trouble with the TemplateResult rendering, it should not be necessary to copy the TemplateResult Object and return a new TemplateResult to get the proper output.
This method seems to make the TemplateResult render fine.
We are having some trouble with the TemplateResult rendering, it should not be necessary to copy the TemplateResult Object and return a new TemplateResult to get the proper output.
This method seems to make the TemplateResult render fine.
However this method returns [Object] [Object]
Here is one example of what we have tested: This method renders fine
However, this method does not work. We think the output of these two should not differ.
The above method (func2) returns an error:
Uncaught (in promise) TypeError: Cannot read property 'split' of null at new Template (template.js:87)