Resolved some initial findings

This commit is contained in:
Miel Truyen 2019-10-21 23:23:39 +02:00
parent 8ae591810a
commit afdffe57f9

View File

@ -10,9 +10,8 @@ document.body.appendChild(render(<div class="center-me" iCanDoUpperCaseAttrs={ "
/** /**
* Findings: * Findings:
* - JSX does not allow dot-notation in attributes: language error * - JSX does not allow dot-notation in attributes: language error
* - Current code lower-cases attributes that result: to be investigated further... is this a limitation of setAttribute? * - Current code lower-cases attributes that result: this a limitation of setAttribute
* - React uses on<EventName> to capture events and the IDE auto-suggests using this (can we generalize this approach for customEvents?) * - React uses on<EventName> to capture events and the IDE auto-suggests using this (can we generalize this approach for customEvents?)
* - Nothing stops us from using
*/ */
/** /**