Skip to content
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

Default STATE values should be preserved when rendering web components. Fixes #305 #309

Merged
merged 3 commits into from
Nov 22, 2017

Conversation

robframpton
Copy link

No description provided.

@robframpton
Copy link
Author

The formatting commit from #307 should resolve this test failure.

Copy link
Contributor

@jbalsas jbalsas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Robert-Frampton, not sure we ever settled for a let vs const vs var debate, so I'm fine either way, just asking 🤷‍♂️

@@ -80,9 +80,13 @@ export function defineWebComponent(tagName, Ctor) {

let opts = {};
for (let i = 0, l = observedAttributes.length; i < l; i++) {
opts[observedAttributes[i]] = this.deserializeValue_(
let deserializedValue = this.deserializeValue_(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be const?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants