Lamdera: manually change URL

How do I manually change the URL with freeze mode on? When I try doing it, onUrlChange is not triggered.

Hey @DullBananas - when in freeze mode no init handlers will run, so if you’re typing in a new URL while freeze mode is on it will just try load your current state again ignoring the url change. Programmatic URL changes that don’t reload the page should work as normal.

Please check out the page for the Lamdera specific forums where you’ll be able to get faster and more detailed support.

Today I found out that I don’t need freeze mode.

In my app, when the page loads, the frontend needs to request data from the backend. I forgot to implement that, which made it only work properly with freeze mode. It made me think that freeze mode is needed for freezing the backend model.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.