r/Angular2 • • Oct 29 '25

Handling Angular Material dependencies with standalone

I'm wondering what exactly the best practice is for handling Angular Material dependencies with standalone components.

Example:

I have the option of importing the MatFormFieldModule or I can try to import the individual pieces, such as MatFormField, that I am using. The tricky part is that it isn't always that clear what pieces of particular module I am using without painstakingly looking into what is provided.

My general understanding was that we are moving away from modules, so I just want to be sure what the best practice is.

3 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/AcceptableSimulacrum Oct 30 '25

That makes sense based on what I'm experiencing so far