|
|
|
|
|
by amsheehan
3078 days ago
|
|
It sounds like your experience with SPA's is the exception, not the rule. I have never built a product or website using Angular or React that performs as poorly as you describe. - Routing modules in all the major frameworks interact directly with the history APIs, and are fast as f*. - There are only a handful of locations in the US where you can expect sub 100ms server round trips, usually they're around 300ms, but lets call that negligible. The real time spent waiting is usually if you're executing some complex database query over large data sets. This has nothing to do with SPA's vs Monoliths. Even so, it sounds like you just experienced bad code if you're waiting 6 seconds for a modal to open. Also...React with React DOM is only 10kb larger than jquery, and when gzipped it's only 37kb. |
|
My biggest problem with SPA the last time I did it (a year ago) was optimizing it for search engine crawling.