reasonml / reason-react

Reason bindings for ReactJS

Home Page:https://reasonml.github.io/reason-react/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

syntactic sugar for react.string

opened this issue · comments

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.