Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing displayNames #2142

Merged
merged 5 commits into from
Jul 16, 2024
Merged

add missing displayNames #2142

merged 5 commits into from
Jul 16, 2024

Conversation

mayank99
Copy link
Contributor

@mayank99 mayank99 commented Jul 15, 2024

Changes

Follow-up to #2141. Added displayName to every public-facing component.

This is necessary for React dev-tools (and React errors), which will otherwise use unhelpful names like "Anonymous".

Testing

Verified that displayNames are correctly utilized by React dev-tools.

Before After
image image

Docs

Added patch changeset.

@mayank99 mayank99 self-assigned this Jul 15, 2024
@mayank99 mayank99 requested review from a team as code owners July 15, 2024 17:02
@mayank99 mayank99 requested review from r100-stack and Ben-Pusey-Bentley and removed request for a team July 15, 2024 17:02
@mayank99 mayank99 force-pushed the mayank/displayNames-missing branch from 653c0e3 to 514353a Compare July 15, 2024 17:06
Base automatically changed from mayank/displayName-dev to main July 16, 2024 14:24
An error occurred while trying to automatically change base from mayank/displayName-dev to main July 16, 2024 14:24
@mayank99 mayank99 merged commit e469f6a into main Jul 16, 2024
16 checks passed
@mayank99 mayank99 deleted the mayank/displayNames-missing branch July 16, 2024 14:35
@imodeljs-admin imodeljs-admin mentioned this pull request Jul 16, 2024
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.

3 participants