-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
React has two special features in JSX that others might not want. Namely key and ref attributes are treated as special cases. This might go a long way to unifying the semantic meaning as well.
We could namespace such attributes with either a name or symbol. A name might be bloated and a name might be too involved.
<Foo @key="foo" @ref={callback} prop="hi" /><Foo :key="foo" :ref={callback} prop="hi" /><Foo #key="foo" #ref={callback} prop="hi" /><Foo react:key="foo" react:ref={callback} prop="hi" />jide, lPadier, oleksandr-shvets, Mavrin, mstijak and 25 more
Metadata
Metadata
Assignees
Labels
No labels