Event handlers cannot be spread onto an element
The message
MARKLESS_EVENT_SPREAD_UNSUPPORTED: {...<spreadSource>} spreads <listed> onto an element. Events compile to static view records, so handlers inside a spread would be discarded.
The compiler owns event discovery so the browser can resume without scanning markup; a runtime spread hides which events exist from the compiler.
Write event props directly, for example <input onClick={handlers.onClick} onInput={handlers.onInput} />, and keep spreads for plain static attributes.Words in angle brackets change from case to case.
Why
The compiler owns event discovery so the browser can resume without scanning markup; a runtime spread hides which events exist from the compiler.
Fix
Write event props directly, for example <input onClick={handlers.onClick} onInput={handlers.onInput} />, and keep spreads for plain static attributes.