-
Notifications
You must be signed in to change notification settings - Fork 426
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
Support for "string" [@JSX] #2729
Labels
Parser
parsing reason code into an AST
Comments
I think this can be implement on ppx level w/o any |
Agreed, I've relayed this to Dave privately and I'm working on a PoC to showcase this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We could tag strings with the JSX attribute and run it thought a "Reason.text" or similar application where ppxes can override it. Useful to remove
React.string
orJsx.text
when is aPexp_constant (Pconst_string _)
Same as we do for the fragments, where we tag lists.
The text was updated successfully, but these errors were encountered: