-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Polymer features that aren't in LitElement #101
Comments
Observers and computed functions aren't a feature of lit-element because they aren't required, so it doesn't really make sense to document that fact. The confusion stems from people comparing lit-element to a Polymer element, but they really aren't related and drawing comparisons will probably make things more confusing (especially to people who aren't familiar with Polymer). |
LitElement uses a |
Yes, I just wasted a day chasing down the fact that camelcase propertied don't map to properties in the template with a "-" in them. Event though this was a lit element sitting inside a polymer 3 template |
|
It looks like observers and computed functions are not supported (AIU #30 (comment)), and instead you just do some logic in either didRender or _render, which is reasonable enough, but it'd be nice for it to be documented.
I started with the decorators linked here: #7 (comment) and their typings mention observer and computed.
The text was updated successfully, but these errors were encountered: