InterviewBuddy
All interview questions

What is a factory provider?

Intermediate

Answer

A factory provider builds a dependency through a function, possibly using injected values. It is useful when construction depends on configuration or asynchronous setup.