The built-in error boundary lifecycle methods are class component APIs. Function components commonly use a library or wrap a class boundary.