Today weāre kicking 12 days of Softr with Single Page Application (SPA) mode, one of the biggest performance upgrades weāve shipped this year. Iāve been testing it a lot internally, and the difference is obvious the moment you start clicking around.
SPA mode loads your appās layout once, then updates only the content that changes. The result is a smoother, snappier browsing experience that feels much closer to a native app.
You can enable it under Settings ā Advanced. Once itās on, youāll notice:
That said, SPA mode also changes how navigation works under the hood, which can impact apps that rely heavily on custom code. Nothing dramatic ā but it does mean certain scripts need to be structured a little differently to behave properly without full page reloads.
If youāre one of our custom-code power users, we put together a clear set of guidelines to help you adjust your scripts for SPA mode:
It walks through what to expect, where to place your code, and how to avoid common pitfalls when moving to SPA.
This is a big step forward for performance, and weāll continue refining it as more of you start using it. If you notice anything odd or have questions, drop them in the thread ā the team is here and listening.
Thank you for the nice feature but my customers are experiencing heavy loading times on conditional filtered buttons to be shown when the conditions are met. I had to deactivate the feature, because this seems to be the issue for any reason. No other changes made and after disabling itās working again.
@artur Iāll try when thereās no active task running. Even in preview mode I saw the buttons werenāt shown correctly. If a task is new there is a button to begin (if the head-task is active and the task is new) but it was not shown as expected. After disabling SPA the button came back.
One thing I noticed, though, is that mobile navigation has two small issues:
Mobile menus (and tablet dropdowns) donāt close automatically after changing pages.
The scroll position doesnāt reset to the top of the page after navigating to a new page. I saw this happens if you clicked on a previous page with a scroll position not at the top.
Sending a short video so you can see what I mean. Hope this helps fine-tune it!
Another bug Iāve encountered with SPA Mode is that linked list items is buggy. While navigating multiple records, it shows you the first record you clicked on in all the related lists. The only way to correctly show you the currentās record linked items is to manually refresh the page