syntactic sugar for react.string
opened this issue · comments
Deleted user commented
It would be nice if there was some clever way to make <tag>{"str"}</tag>
expand to using React.string, as a short hand for a common use case. Feel free to close this as won't fix, if you all prefer to not provide this.
Also, it would be nice if there was a simpler way to embed a comment in jsx than:
{React.null /* here is my comment or todo */ }
I encountered both needs mostly for prototyping. My production code is less likely to need these.