Hacker News new | ask | show | jobs
by yuzuquat 1228 days ago
If you're willing to entertain MPAs, there's small little library called swup that creates seamless transitions between routes (eg. /home, /faq) despite them being 2 different domains. I'm trying it out for www.lona.so and it looks pretty interesting so far

Effectively this it what it does - intercept links to other pages, loads them in the background, then swaps out the contents of the current page with the new page. Your MPA effectively becomes an SPA with just some minor rejiggering

2 comments

This sounds like memory leaks waiting to happen, does it guard against that somehow?
Sounds like turbo links