Re:Introducing react.dev
by jve on Thursday March 16, 2023 @05:43PM
(#35189132)
Oh, here is another 1 I caught:
> There is currently no way to write an error boundary as a function component. However, you don’t have to write the error boundary class yourself. For example, you can use react-error-boundary instead.
> There is currently no way to write an error boundary as a function component. However, you don’t have to write the error boundary class yourself. For example, you can use react-error-boundary instead.
https://react.dev/reference/react/Component#catching-renderi...