TIHLDE / kontresv2

The official page for booking things that belong to TIHLDE!
https://kontres.tihlde.org/
0 stars 0 forks source link

Save booking form state to url #53

Open MindChirp opened 6 months ago

MindChirp commented 6 months ago

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

eriskjel commented 6 months ago

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

MindChirp commented 6 months ago

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 commented 4 months ago

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