This is to separate logic of one component from another. This way, if you change logic in one component you are sure that you are changing only this component, and no other component will get broken.
regards
This is to separate logic of one component from another. This way, if you change logic in one component you are sure that you are changing only this component, and no other component will get broken.
regards