Skip to content

Conversation

@timagixe
Copy link

Closes #155

@MSNev MSNev requested a review from Copilot March 31, 2025 16:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the AppInsightsErrorBoundary component by modifying the type of its children prop from React.ReactElement to React.ReactNode to support a wider variety of React elements.

  • Allow broader children types by changing the prop type
  • Enhance the flexibility of the Error Boundary component

@MSNev MSNev requested review from Karlie-777 and siyuniu-ms March 31, 2025 16:50
@timagixe
Copy link
Author

Hello, @Karlie-777 @siyuniu-ms have you been able to take a look at suggested changes within this PR?

@MSNev MSNev removed the request for review from siyuniu-ms May 13, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Error Boundary Component Restricts Children to ReactElement When It Should Accept ReactNode

1 participant