Newbie on livewire here. Can anybody give me an idea on how to dispatch a select filter event from one table to another. Imagine a scenario where you have a row on your first table that holds the value of some date range. What you want to do upon clicking the row on is to dispatch an event and navigate (using wire:navigate) to the next table with date range filter applied based on which row you clicked on.
You can attach the wire:click event to the row, but instead of directly dispatching it to another component, you can use $dispatchTo with the correct component ID and pass the data (like the date range) you want to share.
Handling the event in the second table (receiver component):
In the second table, you'll listen for the event and apply the date filter using the passed data.
Appreciated the response, but what i did is simply write a url query params and pass that to the clickable row that will bring me to the next table. The date range is then automatically applied on navigate based on the query string.