When processing logic, it is processed in the parent component or child components. (For example: The parent component is the shopping cart page, the child components are product lines including quantity and quantity increase/decrease buttons, so the increase or decrease logic should be placed in the parent or child component)