Skip to content
Myr

feat(jsx): support htmlfor attribute alias (#2916)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* add an attribute alias for 'for' to 'htmlFor' * Updated the utils.test to include attribute aliases. * bun run format:fix and lint:fix

authored by Akira Tsuno · committed by GitHub · parent 448a002 · Browse files · 2 files+79 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+79 added−1 removed

  • tests:+69 added−1 removed
  • other:+10 added−0 removed

2 files+79 added−1 removed

modified:src/jsx/utils.test.ts+69 added-1 removed
modified:src/jsx/utils.ts+10 added