This repository was archived by the owner on Jan 14, 2025. It is now read-only.
addClass and removeClass implementation should be consistent across all components #793
Labels
Unresolved (Archived)
Open and unresolved issues and PRs that were closed due to archiving the repository.
There are currently 2 different implementations of removeClass:
AND
The difference being creating a
new Set()
. We should not be altering state directly, which is why we createnew Set
. addClass should also follow this pattern.Related https://github.com/material-components/material-components-web-react/pull/792/files#r271249191
The text was updated successfully, but these errors were encountered: