Closed
Description
The latest update to eslint-plugin-react
says that {' '}
violates react/jsx-curly-brace-presence
. Running --fix
will delete all instances of {' '}
.
I don't believe this is appropriate, because in some cases, this is the only way to retain a regular space character between elements. Sure there is
and <span> </span>
, but those aren't quite the same.
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels