Closed pasindujr closed 2 years ago
redirecting to the same page will trigger a full page reload because you are on the same page. try return redirecting to login page to see if it works...
redirecting to the same page will trigger a full page reload because you are on the same page. try return redirecting to login page to see if it works...
I tried that but did not work.
Try redirecting to a named route... return redirect()->route('register');
@pasindujr where is this redirect happening? Is that in a Livewire action? Or a controller action? Can you provide a sample application code where this happens? I'd recommend creating a fresh Laravel app where this error happens and publishing that to GitHub.
Closing this for now since I didn't get an answer and doesn't seem like an issue for this package. Feel free to reopen it if you think it is and, pls, try creating a demo app where you're able to reproduce the issue, publish that to GitHub and share with me.
I have been developing a Laravel 9 application with Livewire and using Turbo Laravel package for give it a SPA feeling. It works fine with regular links, but there is a register page in my application and after registration is successful, I have given a redirect to the same page. but after I clicked the register button the page does a full reload. How can I fix that? Is this a issue with the package. I have tried different redirect notations but the issue remains.