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

Use @react.component for ErrorBoundary #47

Merged
merged 2 commits into from
Jun 20, 2022

Conversation

mununki
Copy link
Member

@mununki mununki commented Jun 20, 2022

This PR rewrites RescriptReactErrorBoundary component implementation with @react.component. It is written without it, then it is vulnerable to being broken in case JSX PPX output is changed. Related discussion in the PR of JSX V4 of syntax repo.

@mununki
Copy link
Member Author

mununki commented Jun 20, 2022

cc. @cristianoc

Copy link
Contributor

@cristianoc cristianoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
Would you update the changelog?

Changes.md Show resolved Hide resolved
@cristianoc cristianoc merged commit 0f74265 into rescript-lang:master Jun 20, 2022
@mununki mununki deleted the jsx-ppx-error-boundary branch June 20, 2022 08:56
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.

None yet

2 participants