Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feedback: replace state on initial load when using pushHistory #5

Open
niemyjski opened this issue Feb 8, 2025 · 1 comment
Open

Comments

@niemyjski
Copy link

niemyjski commented Feb 8, 2025

I noticed that if you have defaults and then update the params (spa mode), then hit the back button defaults are lost completely. I'm not sure if enforceDefault is the correct behavior here as I have some parameters that are ok to be empty and others that have to have a default for bind statements...

@niemyjski
Copy link
Author

niemyjski commented Feb 21, 2025

I also think there is an issue here where state is preventing proper navigation to previous pages (between pages when both pages use state). I'm going to work on a repl. I think it had to do with state not being in the query string and thus lost, but I need to narrow down the steps.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant