Error Boundaries¶
Render a fallback when there's an error
- can take in a
FallbackComponentarg - Problem with using the
keyprop for the error boundary- it'll mount and unmount every time the
keyis updated - flashing
- it'll mount and unmount every time the
- we can pass
resetErrorBoundaryprop that gets triggered in theFallbackComponent resetKeysprop works as well
Last update:
2023-04-24