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

Fix method for forms in Bucklescript > 6.x #505

Closed
wants to merge 1 commit into from
Closed

Fix method for forms in Bucklescript > 6.x #505

wants to merge 1 commit into from

Conversation

arnarthor
Copy link
Contributor

We encountered a problem in bucklescript 7 where method is a reserved word so it would need to be entered as method_. This caused ReasonReact to forward it to the dom as method_ instead of method despite the actual prop being named method

Therefor this strange fix where we alias the argument as the same thing again.

@cristianoc
Copy link
Contributor

reasonml/reason#2523

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants