SolidJS: mitosis compiles the attribute "for" to "htmlFor"
kauderk opened this issue · 2 comments
kauderk commented
I am interested in helping provide a fix!
Yes
Which generators are impacted?
- All
- Angular
- HTML
- Preact
- Qwik
- React
- React-Native
- Solid
- Stencil
- Svelte
- Vue
- Web components
Reproduction case
Expected Behaviour
the "for" attribute shouldn't compile to "htmlFor"
Actual Behaviour
I know it's a small issue but I guess mitosis has to adapt to all the frameworks changes
https://github.com/solidjs/solid/releases/tag/v1.4.0#:~:text=className%2C%20htmlFor%20deprecated
Additional Information
Maybe mitosis should accept version targets
samijaber commented
Just gotta remove this mapping!