DEV Community

Discussion on: Building JavaScript Frameworks to Conquer eCommerce

Collapse
 
ryansolid profile image
Ryan Carniato

I mean a SPA could be built on any page hence we see SPA in MPA too.

But this per page routing is what I meant by all in. What I wanted to call out. It isn't equivalent. The problem is MPA style optimizations essentially deconstruct the app. If you model it like a SPA and then just turn off client side routing you still have an app written in a way that is difficult to optimize for MPA. You would need to apply one of the 3 approaches mentioned in the article and the popular solutions don't have tools for that. I just want to clarify we are not near a best of both worlds solution in those.

Collapse
 
mtyson profile image
MTyson

Cool, yeah, that makes a lot of sense.