it depends on the e-comm site requirements. generally SPA solutions are not popular for e-comm sites during to:
- crawler requirements. if the SPA is behind authentication or paywall, then its not crawl-able anyway.
- slower initial page startup
- support mobile network connectivity losses
in general SPA's are more useful when you want a mobile or desktop experience, and are less concerned with search results. an ecomm site might use SPA pages for sections of the site, that are more special purpose (say purchase, preferences, etc).
take for instance this site, you could maybe build a better experience with a SPA, but search and discoverability are more important. Only the editor is client code.
note: for an e-comm SPA site, probably only Blazor WASM makes sense, as mobile access is generally required, and the network is not reliable.