Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update Error Boundary componentchildren prop to acceptReactNode#156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
timagixe wants to merge1 commit intomicrosoft:main
base:main
Choose a base branch
Loading
fromtimagixe:error-boundary-component-restricts-children-to-reactelement-when-it-should-accept-reactnode

Conversation

timagixe
Copy link

Closes#155

@MSNevMSNev requested a review fromCopilotMarch 31, 2025 16:50
Copy link

@CopilotCopilotAI 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

timagixe reacted with thumbs up emoji
@timagixe
Copy link
Author

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

@MSNevMSNev removed the request for review fromsiyuniu-msMay 13, 2025 15:58
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@Karlie-777Karlie-777Awaiting requested review from Karlie-777

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
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
@timagixe

[8]ページ先頭

©2009-2025 Movatter.jp