-
|
Hi, what's the difference between that-depends and modern-di? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
lesnik512
Nov 10, 2024
Replies: 1 comment 2 replies
-
|
@Jonas1312 Hi!
So |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Jonas1312
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Jonas1312 Hi!
modern-dihas scopes. Thanks to them it is easier to manage dependencies lifecycle.modern-didoes not have global state. All state lives in containers of different scopes including overrides (mocks).That dependshas global state inside providers and local state inside contextvarsmodern-direquires integration logic for web-frameworks to create container on each request and to resolve dependencies.That dependsmostly does not require integration logic except for context resources.that-dependsis production-ready, tested in production in many projects.modern-diis in early state of development and I have only started to integrate it to my work project