solidjs / solid-docs-next

SolidJS Docs.
https://docs.solidjs.com/
208 stars 225 forks source link

[Content]: Dynamic webcomponent props are lowercased unless explicity `prop:`'d #783

Open chee opened 3 weeks ago

chee commented 3 weeks ago

📚 Subject area/topic

📋 Page(s) affected (or suggested, for new content)

📋 Description of content that is out-of-date or incorrect

It might be helpful to note here that a prop passed to will have its name lower-cased if the component is a web component string name! (or elided completely if it is a string without a - in it!)

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

https://playground.solidjs.com/anonymous/1bce5e3c-dec2-42e9-939a-b22a6a916b19