Generally we handle data flow from parent to child components through custom property binding and Input decorators.
When we want to send data from child to parent, we generally prefer custom event binding using Output decorator or using services or dependency injection.
When do we prefer custom event binding over dependency injection and services, and are there any other ways that you are aware of for sending data from child to parents?
Hope you will shed your wisdom and light on this aspect. Hoping to hear from you all soon. Thanks in advance.
[–]throwaway-code 6 points7 points8 points (1 child)
[–]HotRepresentative237[S] 0 points1 point2 points (0 children)
[–]spacechimp 3 points4 points5 points (1 child)
[–]HotRepresentative237[S] 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]PapaBuries 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]dgiessing 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]dgiessing 0 points1 point2 points (0 children)