Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upexperiment for JSX #72
Conversation
|
ping to see if there are any thoughts regarding this idea |
|
Sorry this slipped through the net the first time. I like it. I'd maybe change the function/class name from I'd also refactor the code slightly so we test for this case before testing for @wch, any thoughts? |
|
@jcheng5 no problem at all, I had considered it a long shot anyways but it sounds like maybe there is more chance than I thought. I chose Thanks!!!!!!! |
|
any thoughts no this especially now that |
|
one last effort - any hope? |
This pull is solely intended as a point of discussion. It would be really nice (but probably an edge case) to be able to produce
JSX. InJSXattributes are often unquoted JavaScript. To achieve this in a naive way with ugly code, I made the changes in this pull. I am willing to work much harder on this, but I want to make sure it is acceptable before I expend the effort.Example
I am working on the
reactRpackage that would ease working withReact/JSXin R. As I was experimenting, sincetagsdoes not allow unquoted attributes, I currently have to do something like this.It would be really nice since I am so spoiled by
htmltoolsto do this instead.which after this pull gives us this valid
JSX.