4 ms·
> SPAs are not harder, they never were. Yes, they are harder 1) instead of using browsers based on standards with hundreds of millions invested in developing
by saas_co_de 9y ago
> SPAs are not harder, they never were.
Yes, they are harder
1) instead of using browsers based on standards with hundreds of millions invested in developing them for things like routing, caching, history, etc, you are using ad-hoc amateur implementations of all those things that are full of bugs and unimplemented corner cases.
2) Instead of executing your code in a safe environment you control you are executing it in an unsafe environment on an unknown runtime that you have no control of.
3) Instead of processing stateless requests with large chunks of synchronous code backed by a database that imposes some sane limits on state manipulation you are maintaining all of your app state yourself, continually updating it asynchronously, in an insecure environment, with dropped requests, and layers of hacked together client/server data synchronization and caching.
Sure sounds harder to me :)