You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They are not really deprecated, but it is discouraged to use them, because they can change.
In cases when we can avoid to use them we should not use them (some examples are documented in the official documentation).
We use them mostly to override the style of some markup internal to the component that would not be easy to change otherwise. By importing them we at least will have an error if the class no longer exists.
Change hardcoded usage of
bp5-*
in CSS to${Classes.XXX}
Example:
react-science/src/components/dialog/ConfirmDialog.tsx
Line 35 in bb5a82d
When doing so, you can change also refactor to use styled components rather than passing a
css
prop.The text was updated successfully, but these errors were encountered: