Multipage app the data inputs and results are not sharing from page 1 to page 2 with localstorage and URL method

Hey

I built a multipage app in Retool where the first page contains multiple user inputs and calculations based on those inputs. I've tried two methods to pass data to the second page:

  1. Using localStorage:
  • Issue: Cannot read the latest data
  • Issue: The data takes too long to load
  1. Using URL method:
  • Issue: Page 2 cannot find the saved data
  • Specifically: Shows 0 keys

Could you help identify what's wrong with these methods and suggest a solution?"



Does your use case require the { collection: } syntax?

This works for me with localstorage, for example, passing the value from page 1 to any other page: