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

Custom elements should have class set instead of className in React #966

Merged
merged 1 commit into from
May 30, 2023

Conversation

blittle
Copy link
Contributor

@blittle blittle commented May 30, 2023

WHY are these changes introduced?

Fixes #960

WHAT is this pull request doing?

When setting the class attribute on a custom element, React expects to use just class in the JSX instead of className. See facebook/react#4933 (comment)

HOW to test your changes?

Post-merge steps

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes
  • I've added tests to cover my changes
  • I've added or updated the documentation

@blittle blittle merged commit 93a7c3c into 2023-04 May 30, 2023
@blittle blittle deleted the bl-fix-model-viewer branch May 30, 2023 20:02
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.

None yet

2 participants