(window.webpackJsonp=window.webpackJsonp||[]).push([[2182],{2590:function(e,n,t){"use strict";t.r(n);var s=t(31),o=Object(s.a)({},(function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"dependency-injection"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#dependency-injection"}},[e._v("#")]),e._v(" Dependency Injection")]),e._v(" "),t("h2",{attrs:{id:"why-use-dependency-injection"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#why-use-dependency-injection"}},[e._v("#")]),e._v(" Why Use Dependency Injection")]),e._v(" "),t("ol",[t("li",[t("strong",[e._v("Fast Development process")])]),e._v(" "),t("li",[t("strong",[e._v("Decoupling")])]),t("li",[t("strong",[e._v("Unit test writing")]),e._v(" "),t("br"),t("br")])]),e._v(" "),t("p",[t("strong",[e._v("Fast Development process")]),t("br"),e._v("\nWhen using dependency injection node developer can faster their development proceess because after DI there is less code conflict and easy to manage all module."),t("br")]),e._v(" "),t("p",[t("strong",[e._v("Decoupling")]),t("br"),e._v("\nModules becomes less couple then it is easy to maintain.")]),e._v(" "),t("p",[t("strong",[e._v("Unit test writing")]),t("br"),e._v("\nHardcoded dependencies can pass them into the module then easy to write unit test for each module.")])])}),[],!1,null,null,null);n.default=o.exports}}]);