POS Navigation API performance regression

Hello team,

We’ve just released a new version of one of our extensions, which has been migrated from 2025-07 to 2026-04, so moved to Preact and the new web components (was a fairly big job :sweat_smile:). We have since received some reports from our merchants complaining about a performance regression when navigating between pages.

There is now a noticeable delay when moving between pages that wasn’t present previously. Basically now when navigating, before the page is loaded we see a single loading indicator / spinner on the page prior to our content being loaded. This loading spinner is not something we are presenting so I assume this is provided by the navigation API?

I noticed previously (pre 2025-10) all the components of the extension were initialised when it first loaded and stayed there until it was dismissed. Correct me if I’m wrong but now it seems the component tree is recreated from scratch every navigation event. Could this be leading to the hit in performance we are noticing? For example any setup that was done on load now potentially has to be done every navigation event it seems.

Happy to provide more details of the merchant reports via DM if you like.

1 Like