Replies: 2 comments 7 replies
-
I am also unaware of using material web with angular in a 'type safe' way. Material components have experimental support for MD3 but i guess it would take a huge amount of time for it to be on par with material web. |
Beta Was this translation helpful? Give feedback.
-
I actually use Lit elements including material-web inside Angular as-is. The major problem with this approach is that Angular does not play nicely with custom elements which has been a longstanding issue since... forever. You end up littering CUSTOM_ELEMENTS_SCHEMA everywhere with no help from vscode or the compiler. While I would never consider wrapping every custom element I use, I suppose I wouldn't mind using them if they were provided. That said I really feel like the responsibility lies on Angular rather than individual component libraries. |
Beta Was this translation helpful? Give feedback.
-
I know we have Angular users out there, but we would like to make the experience easier for our users. The big problem here is that the Material Web team doesn't really have much experience with modern Angular, so we would need some light direction from passionate Angular users on best practices for achieving this as well as how to automate / maintain them.
Please comment below with any ideas or whether you'd be interested in pitching in!
EDIT: stackblitz to proof of concept
Beta Was this translation helpful? Give feedback.
All reactions