Skip to content

fix class attr warning for SnackPlayer and on multiple pages#4721

Merged
cortinico merged 1 commit into
react:mainfrom
Simek:@simek/fix-class-usage-warnings
Aug 14, 2025
Merged

fix class attr warning for SnackPlayer and on multiple pages#4721
cortinico merged 1 commit into
react:mainfrom
Simek:@simek/fix-class-usage-warnings

Conversation

@Simek

@Simek Simek commented Aug 12, 2025

Copy link
Copy Markdown
Collaborator

Why

Address class attr warning spotted in the dev console caused by SnackPlayer and platform tags on multiple pages.

Screenshot 2025-08-12 at 08 21 09

How

Replace class attr with className in SnackPlayer component and for all platform tags used in docs content files.

@netlify

netlify Bot commented Aug 12, 2025

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 8f2a32d
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/689ade2821ffc90008edb469
😎 Deploy Preview https://deploy-preview-4721--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That's a really long PR. I've skimmed through it and it looks good at first. I suppose this was automatically done and no other modifications are included

@Simek

Simek commented Aug 14, 2025

Copy link
Copy Markdown
Collaborator Author

I can confirm that there are no other changes than class => className replace. I have to use regex replace on all MD files in /docs and /website/versioned_docs to address that issue, due to how many instance there were to correct. And after applying the fixes I have run format:markdown script.

@cortinico cortinico merged commit a28b682 into react:main Aug 14, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants