Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

al3rez's avatar
Level 1

How can I reload a tab data in view using Intertia.js + React + Laravel?

I am having a view

/events/{id}

in this view I have several tabs with forms in it, which I can create, delete and etc; now I am having problem after I create a record inside one of those tabs, in the controller I use

back()-> with and I return data but the list isn't updated in the tab I have the refresh the page

Something like this

Is there a way to do this similar to LiveWire or reload data in place?

0 likes
1 reply
Sinnbeck's avatar

You dont return the data in the redirect. Instead you just make sure that the page that it redirect back to will load the data on load. That way inertia will automatically reload the data for you..

Please or to participate in this conversation.