refactor(props): call toLowerCase on name regardless of its current casing by ali-garajian · Pull Request #5003 · preactjs/preact (original) (raw)
The benches almost certainly don't cover this situation, the numbers returned shouldn't be too useful.
This PR just trades perf from lowercased event names as props and gives it to camelcased. Latter is probably more popular, so maybe this is a positive change?