Skip to content
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

rescript: add a direct support for React components #384

Open
cannorin opened this issue Feb 27, 2024 · 0 comments
Open

rescript: add a direct support for React components #384

cannorin opened this issue Feb 27, 2024 · 0 comments
Labels
enhancement New feature or request rescript For `ReScript` target

Comments

@cannorin
Copy link
Member

Related: #32 (comment)

ReScript has its own binding for React, and also has a dedicated syntax @react.component for React components.

ts2ocaml should detect the React components and generate code with the built-in React binding and @react.component.

@cannorin cannorin added enhancement New feature or request rescript For `ReScript` target labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rescript For `ReScript` target
Projects
None yet
Development

No branches or pull requests

1 participant