I have a general Vue application/component design question. I have a page on my site that gets called when a user clicks a link from an external source. Similar to getting an email with a link such as “Click this link to validate your new user account.”
All that is fine. My question is, should the parent page process $route.params and pass them into a component as props for processing, or is it alright component design to process $route.params directly from within the component?
Currently, I’ve been capturing and processing the $route.params directly from within the component to keep the parent page code cleaner and smaller.
Preferences or thoughts?