In a React application, how can you wrap a component with an Error Boundary?
- Use the <ErrorHandler> component
- Use the try...catch statement in the component's render method
- Use the ErrorBoundary component as a parent of the component
- Use the withErrorBoundary higher-order component