Files
test-repo/tests/jsx-significant-space/comments.js
T
Christopher Chedeau e707bdd52f Print comments attached to {' '} (#2283)
We had two occurrences on fb codebase where people attached comments on `{' '}` which would be swallowed. Instead of dropping the comments, let's make the algorithm a bit less naive.
2017-06-27 09:35:03 -07:00

8 lines
122 B
JavaScript

<div>
{
// TODO: don't harcode this space! not all locales use whitespace
// in the same way
' '
}
</div>