-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
experiment for JSX #72
base: main
Are you sure you want to change the base?
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? |
|
I think I agree with @jcheng5 on this one. It seems safer to introduce a new |
How about |
@cpsievert @jcheng5 thanks so much for the consideration. Given the lack of any other user expression of interest or desire, I think better to just close this out and not try to squeeze Really appreciate all the effort on |
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
. InJSX
attributes 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
reactR
package that would ease working withReact
/JSX
in R. As I was experimenting, sincetags
does not allow unquoted attributes, I currently have to do something like this.It would be really nice since I am so spoiled by
htmltools
to do this instead.which after this pull gives us this valid
JSX
.