Downsides of SPA mode
Are there any downsides to using SPA mode? It does make things noticeably more snappy. I assume there are since it isn’t on my default.
4 Replies
SPA mode in livewire is buggy at best. My personal opinion, for what it’s worth, if you actually need an SPA, then it’s best to actually build one.
Ah I see. Do you know what kind of bugs in particular I should look for if I do use this feature?
There’s just a lot of edge cases where you’re expecting livewire to update, etc that never happens because it doesn’t fully tap into the lifecycle. Basically, all spa mode does is prefetch a request, not filament specific, but livewire specific. And prefetch doesn’t have any context aware application.
Gotcha! Thanks very much for the response 😊