-
Notifications
You must be signed in to change notification settings - Fork 3
Update dependency react-error-boundary to v6 #47
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
Open
renovate
wants to merge
1
commit into
dev
Choose a base branch
from
renovate/react-error-boundary-6.x
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.1.0->^6.0.0Release Notes
bvaughn/react-error-boundary (react-error-boundary)
v6.0.0Compare Source
Module is ESM-only in order to better work with modern tooling.
v5.0.0Compare Source
Update
withErrorBoundarytypes to be compatible with the latestforwardReftypesFor more background see PR #211
v4.1.2Compare Source
enginesfield from Package JSON entirelyv4.1.1Compare Source
v4.1.0Compare Source
v4.0.13Compare Source
Removed references to ESLint config
kcd-scriptsfrompackage.jsonv4.0.12Compare Source
v4.0.11Compare Source
9b7b15b)v4.0.10Compare Source
v4.0.9Compare Source
ErrorBoundary.renderreturn type to avoid TypeScript error:v4.0.8Compare Source
v4.0.7Compare Source
*Replaced post-processing
"use client"insertion step with a custom Parcel plug-in. This should hopefully produce better source maps.v4.0.6Compare Source
v4.0.5Compare Source
Move
"use client"directive to top of the bundled file.v4.0.4Compare Source
README changes only
v4.0.3Compare Source
withErrorBoundaryforwards refs"use client"directivev4.0.2Compare Source
Fix broken TypeScript definitions file (#133, parcel-bundler/parcel#8908)
v4.0.1Compare Source
ErrorBoundaryContextaround fallback UI as well, so theuseErrorBoundaryhook could be used within the fallback component to reset the boundary.For example:
See this demo: https://codesandbox.io/s/nostalgic-browser-e9lpmf
v4.0.0Compare Source
useErrorHandlerhook withuseErrorBoundary; can be used to trigger an error boundary or dismiss oneonResetandonResetKeysprops; pass "details" object explaining the cause of the resetWhy did the
useErrorHandlerhook change?The old hook had two design flaws, both related to the
givenErrorparameter:throwthis value. This seemed unnecessary, because if a component already has a reference to an error during render, it can justthrowthe value itself.nullorundefinedvalues. (Although an edge case, JavaScript enables throwing any values/types.)If you were using the
givenErrorfunctionality– you can now just throw the value directly instead.How can I use the new
useErrorHandlerhook?Show the nearest error boundary from an event handler
React only handles errors thrown during render or during component lifecycle methods (e.g. effects and did-mount/did-update). Errors thrown in event handlers, or after async code has run, will not be caught.
This hook can be used to pass those errors to the nearest error boundary:
Dismiss the nearest error boundary
A fallback component can use this hook to request the nearest error boundary retry the render that original failed.
v3.1.4Compare Source
Bug Fixes
v3.1.3Compare Source
Bug Fixes
v3.1.2Compare Source
Bug Fixes
v3.1.1Compare Source
Bug Fixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.