Closed elmarsto closed 1 year ago
Actually, don't do this, ever. Tsyringe has terrible update cadence (see #11 ) and just doesn't work rn. This is extra boilerplate with only code-correctness/smell rationale, which is flimsy and subjective in this case.
https://himynameistim.com/blog/dependency-injection-with-nextjs-and-typescript