You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, props passed to the JSX factory are set as properties. Add attr: prefix to the name to set element attribute instead of property. https://www.reatom.dev/package/jsx/#reference
TODO
Remove undocumented namespace prop:;
Props are set as properties, not attributes;
Update types to match Element typing;
Update documentation.
Example
Source code:
<inputdisabled/>
Expected result:
el.disabled=true
Actual result:
el.setAttribute('disabled','')
Part
Package @reatom/jsx
Version
3.16.0
What browsers are you seeing the problem on?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
What happened?
TODO
prop:
;Example
Source code:
Expected result:
Actual result:
Part
Package @reatom/jsx
Version
3.16.0
What browsers are you seeing the problem on?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: