What went wrong? 🤔
When I click on + POST I can not get anything posted, constantly it is screaming: "Unexpected Error"
Expected Behavior
I expected to be able to post this:
Alpine Turnout - Alpine.js Plugin
I built Alpine Turnout to be a "Route Switch." It uses a declarative x-route directive to reactively toggle UI sections based on the URL.
The "State Persistence" Advantage
One of the biggest frustrations with traditional routers is that they often unmount components, causing you to lose user input. With Turnout, because we are switching visibility and state:
Input Persistence: Form fields, textareas, and checkboxes stay exactly as the user left them when switching between routes.
Zero-Config: It globally intercepts local links—no need to manually handle click events on every anchor tag.
Scroll Restoration: It automatically caches and restores your scroll position for every path, making "back" and "forward" navigation seamless.
Parameter Injection: URL segments (like /post/:id) are injected directly into your Alpine scope automatically.
Check out the Live Playground to see the navigation and input persistence in action:
👉 https://turnout-playground.netlify.app/
I’m excited to hear your thoughts! I’ll be here all day to answer questions about the implementation or future roadmap.
Repo: https://github.com/rodezee/alpine-turnout
Steps to Reproduce Issue
1. Login
2. Post
3. See the Error
Solution Proposed
Unable to post, it looks like something in the backend...
Screenshots
No response
Environment
No response
Browsers
Firefox
OS
Ubuntu 24.04
Version of daily.dev
No response
Additional Context
Code of Conduct
What went wrong? 🤔
When I click on + POST I can not get anything posted, constantly it is screaming: "Unexpected Error"
Expected Behavior
I expected to be able to post this:
Steps to Reproduce Issue
Solution Proposed
Unable to post, it looks like something in the backend...
Screenshots
No response
Environment
No response
Browsers
Firefox
OS
Ubuntu 24.04
Version of daily.dev
No response
Additional Context
Code of Conduct