Skip to content

Conversation

batje
Copy link

@batje batje commented Apr 13, 2018

This patch adds the option to use the webcomponents using JSON in the attribute value. It differentiates between Array type of properties and Object types and it includes tests.

@haoqunjiang
Copy link
Member

See https://developers.google.com/web/fundamentals/web-components/best-practices#aim-to-only-accept-rich-data-objects-arrays-as-properties
It's not recommended to accept rich data (objects, arrays) as attributes. I don't think we should add this feature.

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