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

Version Packages #3011

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Version Packages #3011

merged 1 commit into from
Apr 17, 2024

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@data-client/react@0.11.2

Patch Changes

  • #3010 c906392 Thanks @ntucker! - ErrorBoundary listens to all errors

    This means it may catch errors that were previously passing thorugh

  • #3010 c906392 Thanks @ntucker! - ErrorBoundary default error fallback supports react native

  • #3010 c906392 Thanks @ntucker! - Add listen prop to ErrorBoundary and AsyncBoundary

    <AsyncBoundary listen={history.listen}>
      <MatchedRoute index={0} />
    </AsyncBoundary>
  • #3010 c906392 Thanks @ntucker! - Add resetErrorBoundary sent to errorComponent

    function ErrorComponent({
      error,
      className,
      resetErrorBoundary,
    }: {
      error: Error;
      resetErrorBoundary: () => void;
      className?: string;
    }) {
      return (
        <pre role="alert" className={className}>
          {error.message} <button onClick={resetErrorBoundary}>Reset</button>
        </pre>
      );
    }

@ntucker ntucker enabled auto-merge April 17, 2024 15:54
@ntucker ntucker added this pull request to the merge queue Apr 17, 2024
Merged via the queue into master with commit af410d8 Apr 17, 2024
18 checks passed
@ntucker ntucker deleted the changeset-release/master branch April 17, 2024 16:05
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

1 participant