-
Notifications
You must be signed in to change notification settings - Fork 29.8k
document StaticIconProvider #120935
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
document StaticIconProvider #120935
Conversation
|
(triage) @christopherfujino Do you still have plans to finish this one up? Would be awesome to have better documentation on this! |
Yup, thanks for the ping! |
|
ping @christopherfujino please land this. |
d656e3b to
9f959a3
Compare
|
@goderbauer this is my first framework doc PR, does this align with our style? |
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.
nit: I would rephrase this, instead of saying "should" I would say, tree shaking only works if you do this. Otherwise your binary will be larger than necessary (or whatever the failure mode is).
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.
updated, WDYT?
3f9f106 to
ff5c0dd
Compare
goderbauer
left a comment
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.
LGTM
document StaticIconProvider
|
Reading comment added for StaticIconProvider still does not answer the question - "How to make tree shaking working for custom font?". I have custom icon font added to assests and declared: @staticIconProvider
abstract final class MyIcons { ... }but don't see tree shaking works for my custom font. What should I do to make it work? |
Fixes #120459