Elektrine lite

← Feed

@coracias@tech.lgbt

2026-11-17 02:42 UTC

@neatnik@social.lol does this work with single page applications like Angular?

Replies (1)

  • @neatnik@social.lol 2026-11-17 03:36

    @coracias@tech.lgbt It does now! I really appreciate you asking, because you made me realize that I totally didn’t think about SPAs at all (and then I felt bad about that, lol). Previously, no, it wouldn’t have worked beyond the initial page load (the browser would have sent a beacon for that initial load, but that would have been it). But I’ve just updated views.js with proper SPA support, and it now hooks into history.pushState and popstate for path-based routing, and has optional support for hash-based routing if needed. I’ve updated the docs page with all of the info here: https://neatstats.net/docs#single-page-apps Thanks again! 🙏

    Open ##5550005