I have an SPA (single page app), but I’ve noticed that managing an SPA is becoming difficult, and both the editor and the main app are becoming slower.
Now I’m thinking about converting it to MPA (multi page app). I’m wondering if there are any best practises I can follow to avoid redoing the entire app and instead use my existing elements.
It has more than ten pages and fifteen popups because it is an ERP.
I recommend trying to convert the elements for each ‘page’ into a reusable element. That way, you should see a big improvement for editing your pages. Drop each reusable element on the single page so it still feels like like an app. Does that make sense? It also allows for a better transition since you can convert one page at a time. Everyone has different ways of doing this. This is just one option.
The only thing I will caution is to do it one page at a time and keep and eye out for formatting…
I’m building a large dating app right now and in a few instances my formatting has been destroyed by R.E.s. so I pulled one page out today and it’s staying in my root page.
Otherwise they are great, but they do come also with issues on how to communicate between them. So make sure to read up on that topic if you go down this road.
I think it is a personal preference and it also helps to start it from scratch as REs. Your options are multi-page which is a slower UI, or single patch with REs or groups… Each have pros and cons, but no one can tell you which is best.