|
|
|
|
|
by Bahamut
3506 days ago
|
|
Creating a universal JS app on the web has some extra cons too - not only is the code run on the server, but also a not insignificant JS payload is downloaded & executed on the client, as well as increased app complexity in order to maintain client/server separation at extension points. One should be cognizant that one doesn't get benefits for free with the choice to go with universal JS. |
|
Can you explain what you mean by this?
And are you comparing client-only vs universal, or client-only vs server-only?
Large JS can be solved with code-splitting. The necessary code is downloaded in chunks when needed.