@jlrdw Thanks again!
I did watch the video, and I think I have something similar to what he was suggesting albeit in a Vue setup, (which I know he was showing a Vue example to demonstrate how it's better not using Vue :) )
I see the logic of what you are saying about running inside an object, it makes good sense and I'm going to look at that more as I hadn't considered it! Thank you.
So I'm probably being dumb but I'm not sure it solves the problem I have or I haven't explained the problem I'm trying to solve very clearly.
Imagine the user initially hits an endpoint with a GET request to /. The Page loads but the table (as in your example) is empty as we don't yet know which data the user wishes to see.
As the user interacts with other elements on the page (or within the object itself), we can run ajax requests to grab data from the backend and reload the object as a partial as you suggest. All good.
Now in addition I want the user to be able to visit this page from a completely different page , but with parameters that define which data to show in the table on first load. So as a GET request this will now look something like /?show-table=54.
I don't want to show the query string, so I want to pass this data as a POST request which means I now need to support both GET and POST requests to the same endpoint calling the same controller method.
I can't find a way to make that work with my laravel routes e.g. this doesn't work:
Route::post('/feed', [PostController::class, 'index'])->name('feed.post');
Route::get('/feed', [PostController::class, 'index'])->name('feed');
Forgive me if I'm being dumb and misunderstood your reply! thanks again for your time.