I think if we use any shared module or core module (containing providers) in side a lazily loaded module then it will use seperate instance, so best it to use via app module
@sandipshirsale30192 жыл бұрын
Great one But not able to understand why it's behving differently compare to core Module and shared module?
@gauravkochhar24713 жыл бұрын
cool sir...really nice
@LeelaWebDev3 жыл бұрын
Thank you
@ankitshah22702 жыл бұрын
Hello sir, how we can share the data between two component of diffrent module in lazy loading? I don't want to use "root" shared service for that. Is there any other way to do that?
@LeelaWebDev2 жыл бұрын
create a shared module and import that shared module in both different modules
@veeramanikantapinnana4233 жыл бұрын
Sir what will happen if we inject the service in both module and also in component
@LeelaWebDev3 жыл бұрын
Nice question. Try once by doing like that . Practicing raises doubts. Let me know in comment by trying
@veeramanikantapinnana4233 жыл бұрын
@@LeelaWebDev It will create another instance for that component is it right..??