DI pattern has a big issue when doing the code splitting.
It needs to know the abstract type and service / value then do the injection
But, it is not friendly to code-splitting, even though using the dynamic import.
current solution is new everything and does nothing for inject service. each class also has init method to do the inject service initialize
DI pattern has a big issue when doing the code splitting.
It needs to know the
abstract type
andservice / value
then do the injection But, it is not friendly to code-splitting, even though using the dynamic import.current solution is new everything and does nothing for inject service. each class also has
init
method to do the inject service initializetry to-