[REF-2810] Error: img is a self-closing tag and must neither have children
nor use dangerouslySetInnerHTML
.
#3273
Labels
enhancement
Anything you want improved
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
Describe the bug
When a user makes a simple mistake, and passes the image
src
as a child, this causes a browser error.Instead Reflex should catch this at compile time and throw an actionable error in the terminal, or just assume what the user meant and apply the child as the
src
To Reproduce
OOOPS, meant to write it as
Screenshots
Poor user experience 😭
Specifics (please complete the following information):
From SyncLinear.com | REF-2810
The text was updated successfully, but these errors were encountered: