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(core): Add support for recoverable errors #2261

Merged
merged 1 commit into from
May 11, 2022

Conversation

giulioz
Copy link
Member

@giulioz giulioz commented May 10, 2022

In some cases (that are still not really clear to me), when an error occur when rendering react-reconciler might fire onRecoverableError, which is a new parameter in createContainer. Unfortunately the typings doesn't yet support the new parameters, so they have to be monkey patched.

More info: facebook/react#23207

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 521b573:

Sandbox Source
example Configuration

@drcmda drcmda merged commit 4c97ec1 into pmndrs:master May 11, 2022
CodyJasonBennett added a commit that referenced this pull request May 11, 2022
@susiwen8
Copy link
Contributor

Just made a PR in DefinitelyTyped

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.

5 participants