-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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 name option to makeStyles #3946
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that's definitely going in the right direction!
8496ef7
to
90b97bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should prefix all names with 'Ra' - just like material-ui prefixes all their names with 'Mui'. That's because the names go to a pool shared between libraries, and there is a good chance that List
and other generic names are already present.
I'm sorry to realize that just now, after telling you to go ahead with the initial design, but I just understood the risk by reading your PR.
Would you mind updating all the names you've added to add the 'Ra' prefix?
@DanudeSandstorm can you rebase? |
a5b96f8
to
4979a0b
Compare
I rebased onto next |
Thank you. |
@fzaninotto , is this PR ready to be merged? |
Excellent, thanks! |
I've begun adding the name of the component in the ra-ui-materialui components that use
makeStyles
as mentioned in #3701 .Please let me know whether this is what is expected and I can perform this addition on the remaining components.
Note: There's a difference in prettier/linting specification between
.tsx
and.js
files, which results in differences in the makeStyles formatting.