-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to check whether dependency exists #7
Comments
Ah I found it: di-ninja/src/makeContainerApi.js Line 7 in 138885c
One for the docs perhaps? We should document entire |
Yes you're right, I have not the time to do that for now, but feel free to make a pull request for this, I'll accept it. PS: di-ninja remain maintained and a good choice in many situation but with the new stable react context api for the browser and the experimental feature async_hook in node, I can do most of my dependency injection works natively. |
throws an error. Is there a gentler way to check whether a dependency exists?
My use case is that I added a dependency dynamically. A consumer of the dependency wants to check whether it is present before continuing.
The text was updated successfully, but these errors were encountered: