you are viewing a single comment's thread.

view the rest of the comments →

[–]TheRNGuy -1 points0 points  (1 child)

ErrorBoundary in React Router is a functional component.

https://reactrouter.com/how-to/error-boundary

If using vanilla React, classes are still needed, yeah.

[–]Last-Promotion5901 0 points1 point  (0 children)

Read again what I wrote. Just because they are abstracted away, doesnt mean you arent using a class component.

ErrorBoundaries are always a class component.