Livewire not refreshing after clicking browser back button

I have the following problem - when I hit the back button and I have a form on the previous page, it is loaded with old values (it appears from session) and not new values coming from database, even if I explicitly set $this->whatever property to equal a value from the database.

It loads the form with up-to-date values only if I refresh the browser window manually (F5). Why is this behaviour and how can I resolve it so that if I go one step back it loads the form with correct values from database? Here is an example of my mount() method:

public function mount(Job $job)
{
    $this->job = $job;

    $this->type = $this->job->is_recurring ? 'recurring' : 'onetime';
    $this->isFlexible = $this->job->is_flexible;

P.S. I also noticed that if I add a dd() statement at the beginning of the mount() method as well it doesn;t take it into account unless I refresh the whole page again with F5.

Hi, i had a similar issue. I solved it by moving the code to render fuction. Try to mover those 3 lĂ­nea of code to render function, it mayor help