webcomponents / webcomponents/custom-elements-everywhere

Passing camelCase properties

Open
#584 1 comment 1 reaction 0 assignees View on GitHub
Additional Tests
Dominant language
JavaScript
Stars
1.3k
Forks
108
PR merge metrics
No merged PRs in 30d

Description

It seems to me that libraries do not always appropriately handle camelCase property names the same way.

When using Vue and Svelte together, for example, I'm finding the only way to reliably pass properties is to use a single lowercase value such as `textcolor` instead of `textColor`.

However when using only Vue, it seems to pass and accept camelCased properties without issue.

Could this behavior be standardized?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.