Closes #46. I inadvertently enforced React's special double click event instead of the standard dblclick event. This PR makes that no longer a warning and automatically corrects onDoubleClick back to onDblClick.
With Solid's improvements to JSX spreading in v1.6, there's now no need to warn when spreading an event handler into JSX, at least one that's statically analyzable. The part of the solid/event-handlers rule that warned on this is now behind an option, warnOnSpread.
Closes #46. I inadvertently enforced React's special double click event instead of the standard
dblclick
event. This PR makes that no longer a warning and automatically correctsonDoubleClick
back toonDblClick
.With Solid's improvements to JSX spreading in v1.6, there's now no need to warn when spreading an event handler into JSX, at least one that's statically analyzable. The part of the
solid/event-handlers
rule that warned on this is now behind an option,warnOnSpread
.