One thing I can’t seem to get my head around is how to use an action associated with a search field that can appear in different places in the app. Right now I’m literally using a form field and a submit button, but that’s re-loading the app on submit.
What is the best practice for this? Is there a “global” action I can use for the app so that a search action can be run from a component or template anywhere in the app? If so, do I have to pass down the reference to the action to every single nested component that will need it?