break-stuff / cem-tools

Tooling for generating features based on the Custom Elements Manifest
MIT License
95 stars 11 forks source link

Event names conversion react wrappers #144

Open venkatesh-nagineni opened 1 month ago

venkatesh-nagineni commented 1 month ago

testing custom-element-react-wrappers and working great except event names defined as myCustomEvent and this is converted after react generate likeonMycustomevent (expected to haveonMyCustomEvent), actually this could be breaking change for my react consumers that change this structure, if i change my event names like my-custom-event then it breaks other non react consumers

is there any option to keep like what stencil-react wrapper is doing

break-stuff commented 1 month ago

Yeah, that makes sense. I think we should be able to adjust for that.

break-stuff commented 1 month ago

Release 1.6.5 fixes this issue and should be available now.