-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
chore() Try to use constants for repeated strings. #8933
Conversation
Build Stats
|
… try-to-use-const
… try-to-use-const
ok for now this is done like this. |
@ShaMan123 Do we have anything against using shared const instead of literal strings for commonly repeated values? |
I don't mind |
minification will be done at some other level, by the importing appliacation maybe, but the concept doesn't change, what improve minification here will improve it there. |
Also we don't need to enforce it, if is seen in code review good, if is not seen will be addressed another day |
Hopefully less repetitions, less typin errors, less packed code.
This PR will cover
center
,left
,top
,right
,bottom
,none
.I m not sure there is much else