Putting the current interface state (the reservation calendar) 📅 in the page's <a> anchors, I wanted to test this, knowing it was a bad idea...
But hey, it allowed having a different state if the interface is opened in multiple tabs. 🔗
I confirm, it was a very bad idea! 😅 My state is way too complex to be managed like that.
We're going to put it in the session and let the server return the turbo-frames and turbo-streams correctly. ✅
But hey, it allowed having a different state if the interface is opened in multiple tabs. 🔗
I confirm, it was a very bad idea! 😅 My state is way too complex to be managed like that.
We're going to put it in the session and let the server return the turbo-frames and turbo-streams correctly. ✅