You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The classes in the TodoList example should not know about "ctx" because that's the container. The classes should really allow injection of the actual dependency (for example, via constructor dependency injection). The way di.js is used in the example, is called a service locator.
The text was updated successfully, but these errors were encountered:
The classes in the TodoList example should not know about "ctx" because that's the container. The classes should really allow injection of the actual dependency (for example, via constructor dependency injection). The way di.js is used in the example, is called a service locator.
The text was updated successfully, but these errors were encountered: