My gut feeling is that overusing ::part could be a smell of incorrect API design of the component (so that it could be split further into a number smaller components, etc).
At Vaadin, we have the workaround for writing CSS using [part] attribute, and then injecting those <style> tags into shadow trees. That's convenient in most of cases, but still not ideal, and developers need some time to learn that model.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
My gut feeling is that overusing
::part
could be a smell of incorrect API design of the component (so that it could be split further into a number smaller components, etc).At Vaadin, we have the workaround for writing CSS using
[part]
attribute, and then injecting those<style>
tags into shadow trees. That's convenient in most of cases, but still not ideal, and developers need some time to learn that model.