Advantages of Using Symbols in Material Components like 'get propName' Example? #5068
ChellappanRajan
started this conversation in
General
Replies: 1 comment
-
We usually use them for one of two use cases:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed that in many Material Components, such as the example in this code (https://github.com/material-components/material-web/blob/main/radio/internal/radio.ts#L19), symbols are used instead of 'propName.' Could you please explain the advantages of using symbols in this context?
Beta Was this translation helpful? Give feedback.
All reactions