Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Save booking form state to url #53

Open
MindChirp opened this issue Feb 23, 2024 · 3 comments
Open

Save booking form state to url #53

MindChirp opened this issue Feb 23, 2024 · 3 comments
Labels
good first issue Good for newcomers new feature New feature or request

Comments

@MindChirp
Copy link
Contributor

MindChirp commented Feb 23, 2024

It would be nice to store the booking form state in the url as query parameters, so that the user can share the link with others. This will also "save" the form state if the user navigates between different pages using the back and forward buttons in the browser

@MindChirp MindChirp added good first issue Good for newcomers new feature New feature or request labels Feb 23, 2024
@eriskjel
Copy link
Collaborator

har vi en store oppe nå?jotai elns`?

@MindChirp
Copy link
Contributor Author

jo vi har forsåvidt jotai, men jeg tror vi må ta en prat om hva vi egentlig vil bruke. Det er litt kleint å implementere en store når man både har client og server side rendering

@ConradOsvik
Copy link
Collaborator

search params er the way to go. hater når nettsider ikke bruker det og jeg saver dem i bokmerkebaren

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers new feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants