bitovi / react-to-web-component

Convert react components to native Web Components. Works with Preact too!
https://www.bitovi.com/open-source/react-to-web-component
MIT License
718 stars 43 forks source link

Clarify docs on kebab-case vs camelCase #179

Open christopherjbaker opened 5 months ago

christopherjbaker commented 5 months ago

Clarify docs on kebab-case vs camelCase, and add code to detect camelCase usage in dev mode.

sven-from-sylphen commented 5 months ago

Maybe extending the Working With Attributes-Example in the ReadMe to a use-case where it additionally uses a property that gets changed to kebab-case could be helpful as well, as that was the first place I looked to find out what my issue could be.